[Machine] I traveled with the Messenger of Allah ﷺ in Ramadan, and he fasted until he reached Usfan. Then he called for a container and drank from it so that the people could see him, then he broke his fast when he entered Mecca and opened Mecca in Ramadan. Ibn Abbas said, "The Messenger of Allah ﷺ fasted while traveling and he broke his fast. So whoever wants, let them fast and whoever wants, let them break their fast."
سَافَرْتُ مَعَ رَسُولِ اللهِ ﷺ فِي رَمَضَانَ فَصَامَ حَتَّى بَلَغَ عُسْفَانَ ثُمَّ دَعَا بِإِنَاءٍ فَشَرِبَ بِهَا لِيَرَاهُ النَّاسُ ثُمَّ أَفْطَرَ حِينَ دَخَلَ مَكَّةَ وَافْتَتَحَ مَكَّةَ فِي رَمَضَانَ قَالَ ابْنُ عَبَّاسٍ «صَامَ رَسُولُ اللهِ ﷺ فِي السَّفَرِ وَأَفْطَرَ فَمَنْ شَاءَ صَامَ وَمَنْ شَاءَ أَفْطَرَ»