"The Messenger of Allah went out to Makkah, and he fasted until he came to 'Usfan. Then he called for a cup and drank." (One of the narrators) Shubah said: "(That was) in Ramadan. Ibn 'Abbas used to say: 'Whoever wants to fast, may fast, and whoever wants to break may break his fast."'
أَخْبَرَنَا مُحَمَّدُ بْنُ قُدَامَةَ، عَنْ جَرِيرٍ، عَنْ مَنْصُورٍ، عَنْ مُجَاهِدٍ، عَنْ طَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ سَافَرَ رَسُولُ اللَّهِ صلى الله عليه وسلم فِي رَمَضَانَ فَصَامَ حَتَّى بَلَغَ عُسْفَانَ ثُمَّ دَعَا بِإِنَاءٍ فَشَرِبَ نَهَارًا يَرَاهُ النَّاسُ ثُمَّ أَفْطَرَ .
"The Messenger of Allah traveled during Ramadan and fasted until he reached 'Usfan. Then he called for a vessel and drank during the day when the prople could see him, then he did not fast."
he asked the Messenger of Allah about fasting while traveling. He said: "If," then he said something to the effect that: "If you want, then fast, and if you want, then do not fast.
"I asked the Messenger of Allah about fasting while traveling. He said: 'If you wish to fast then fast, and if you wish not to fast then do not fast."'
"I asked the Messenger of Allah about fasting while traveling. He said: 'If you wish to fast then fast, and if you wish not to fast then do not fast."'