Abdullah bin Abbas reported,

The Prophet ﷺ set out from Medina toward Mecca, and when he reached Usfan he called for a vessel and raised it to his mouth to show the people, and this was during Ramadan.Ibn Abbas used to say, "The Prophet ﷺ both fasted and broke his fast, so whoever wishes may fast and whoever wishes may break his fast."

Abu Dawud 2404

Sahih

حدثنا مسدد حدثنا أبو عوانة عن منصور عن مجاهد عن طاوس

عن ابن عباس قال

خرج النبي ﷺ من المدينة إلى مكة حتى بلغ عسفان ثم دعا بإناء فرفعه إلى فيه ليريه الناس وذلك في رمضان فكان ابن عباس يقول قد صام النبي ﷺ وأفطر فمن شاء صام ومن شاء أفطر

أبو داود 2404صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Fasting
Chapter
Merchant who breaks his fast
Numbering
Darussalam 2404
Abu Dawud 2404