مشكوة المصابيح Mishkat al-Masabih كتاب الصوم The Book of Fasting
(الصِّيَامُ فِي السَّفَرِ خِيَارُ الْمُسَافِرِ)

(Fasting while traveling is the traveler's choice)

1 hadith
Hadith 2023
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: خَرَجَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ الْمَدِينَةِ إِلَى مَكَّةَ فَصَامَ حَتَّى بَلَغَ عُسْفَانَ ثُمَّ دَعَا بِمَاءٍ فَرَفَعَهُ إِلَى يَدِهِ لِيَرَاهُ النَّاسُ فَأَفْطَرَ حَتَّى قَدِمَ مَكَّةَ وَذَلِكَ فِي رَمَضَانَ. فَكَانَ ابْنُ عَبَّاسٍ يَقُولُ: قَدْ صَامَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَأَفْطَرَ. فَمن شَاءَ صَامَ وَمن شَاءَ أفطر
Ibn ‘Abbas said God's messenger left Medina to go to Mecca and fasted till he reached ‘Usfan. He then called for water, and raising it aloft so that the people might see it, he broke his fast and did not resume it till he reached Mecca, and that was in Ramadan. Ibn ‘Abbas used to say, “God’s messenger has fasted and has broken his fast, so he who wishes may fast and he who wishes may break his fast.” (Bukhari and Muslim.)
Hadith Reference Mishkat al-Masabih / The Book of Fasting / Hadith: 2023
Hadith Grading الألبانی: مُتَّفَقٌ عَلَيْهِ  |  زبیر علی زئی: متفق عليه
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (1948) و مسلم (88/ 1113)»