Anas bin Malik reported,

Abu Talha did not fast during the lifetime of the Prophet ﷺ because of his involvement in military expeditions. After the Prophet ﷺ passed away, I never saw him break his fast except on the day of Eid al-Fitr or Eid al-Adha.

Azami 7838

Sahih

عن أنس بن مالك قال

كان أبو طلحة لا يصوم على عهد النبي ﷺ من أجل الغزو، فلما قبض النبي ﷺ لم أره مفطرا إلا يوم فطر أو أضحى.

الأعظمي 7838صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Rulings on jihad and its etiquette
Section
Precedence of jihad with the Messenger over voluntary fasting
Numbering
Jami al-Kamil 7838 (2nd edition)
Azami 7838