From Sahih Bukhari (Hadith 2828):
Narrated Anas bin Malik:In the life-time of the Prophet, Abu Talha did not fast because of the Jihad, but after the Prophet (ﷺ) died I never saw him without fasting except on `Id-ul-Fitr and `Id-ul-Adha
Reference: Bukhari 2828