Sahih Muslim 1113e
Ibn 'Abbas (Allah be pleased with him) reported that the Messenger of Allah ﷺ journeyed during the month of Ramadan in a slate of fasting till he reached 'Usfan. He then ordered a cup containing drinking water and he drank that openly so that the people might see it, and broke the fast (and did not resume it) till he reached Mecca. Ibn 'Abbas (Allah be pleased with him) said: Messenger of Allah ﷺ fasted and broke the fast, so he who wished fasted and he who wished to break it broke it.
وَحَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، أَخْبَرَنَا جَرِيرٌ، عَنْ مَنْصُورٍ، عَنْ مُجَاهِدٍ، عَنْ طَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ، - رضى الله عنهما - قَالَ سَافَرَ رَسُولُ اللَّهِ ﷺ فِي رَمَضَانَ فَصَامَ حَتَّى بَلَغَ عُسْفَانَ ثُمَّ دَعَا بِإِنَاءٍ فِيهِ شَرَابٌ فَشَرِبَهُ نَهَارًا لِيَرَاهُ النَّاسُ ثُمَّ أَفْطَرَ حَتَّى دَخَلَ مَكَّةَ . قَالَ ابْنُ عَبَّاسٍ - رضى الله عنهما - فَصَامَ رَسُولُ اللَّهِ ﷺ وَأَفْطَرَ فَمَنْ شَاءَ صَامَ وَمَنْ شَاءَ أَفْطَرَ .