Allah's Messenger (ﷺ) used to fast till one would say that he would never stop fasting…

Sahih al-Bukhari Book 30 Hadith 76

Sahih al-Bukhari #1969

Fasting 30:76

Narrated `Aisha:

Allah's Messenger (ﷺ) used to fast till one would say that he would never stop fasting, and he would abandon fasting till one would say that he would never fast. I never saw Allah's Messenger (ﷺ) fasting for a whole month except the month of Ramadan, and did not see him fasting in any month more than in the month of Sha'ban.

Chapter: Saum (fasting) in the month of Sha'ban.

Grade: Sahih