From Sahih Bukhari (Hadith 1971):
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
Reference: Bukhari 1971