Sahih al-Bukhari 4279
صحيح البخاري#4279SahihNarrated Tawus:Ibn `Abbas said, "Allah's Messenger (ﷺ) travelled in the month of Ramadan and he fasted till he reached (a place called) 'Usfan, then he asked for a tumbler of water and drank it by the daytime so that the people might see him. He broke his fast till he reached Mecca." Ibn `Abbas used to say, "Allah's Apostle fasted and sometimes did not fast while traveling, so one may fast or may not (on journeys)
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 64:313