The Messenger of Allah ﷺ left Madinah during Ramadan at the time of the conquest of Makkah. He fasted until he reached Usfan, then he called for a large cup of drink, or a vessel, and drank from it.Ibn Abbas used to say, "Whoever wishes may fast, and whoever wishes may break the fast."
حدثنا محمد بن جعفر وحجاج قالا حدثنا شعبة عن منصور عن مجاهد
أن رسول الله ﷺ خرج من المدينة في رمضان حين فتح مكة فصام حتى أتى عسفان ثم دعا بعس من شراب أو إناء فشرب فكان ابن عباس يقول من شاء صام ومن شاء أفطر