The Prophet (ﷺ) never fasted a full month except the month of Ramadan, and he used to fast…

Sahih al-Bukhari Book 30 Hadith 78

Sahih al-Bukhari #1971

Fasting 30:78

Narrated Ibn `Abbas:

The Prophet (ﷺ) never fasted a full month except the month of Ramadan, and he used to fast till one could say, "By Allah, he will never stop fasting," and he would abandon fasting till one would say, "By Allah, he will never fast."

Chapter: Fasting and non-fasting (periods) of the Prophet saws.

Grade: Sahih