Language:
كتاب الصوم
30  
Fasting
(33)
Chapter: To observe Saum (fast) or not during journeys
(33)
باب الصَّوْمِ فِي السَّفَرِ وَالإِفْطَارِ
Sahih al-Bukhari 1941

Narrated Ibn Abi `Aufa:

We were in the company of Allah's Messenger (ﷺ) on a journey. He said to a man, "Get down and mix Sawiq (powdered barley) with water for me." The man said, "The sun (has not set yet), O Allah's Messenger (ﷺ)." The Prophet (ﷺ) again said to him, "Get down and mix Sawiq with water for me." The man again said, "O Allah's Messenger (ﷺ)! The sun!" The Prophet (ﷺ) said to him (for the third time) "Get down and mix Sawiq with water for me." The man dismounted and mixed Sawiq with water for him. The Prophet (ﷺ) drank it and then beckoned with his hand (towards the East) and said, "When you see the night falling from this side, then a fasting person should break his fast."

حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي إِسْحَاقَ الشَّيْبَانِيِّ، سَمِعَ ابْنَ أَبِي أَوْفَى ـ رضى الله عنه ـ قَالَ كُنَّا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي سَفَرٍ فَقَالَ لِرَجُلٍ ‏"‏ انْزِلْ فَاجْدَحْ لِي ‏"‏‏.‏ قَالَ يَا رَسُولَ اللَّهِ الشَّمْسُ‏.‏ قَالَ ‏"‏ انْزِلْ فَاجْدَحْ لِي ‏"‏‏.‏ قَالَ يَا رَسُولَ اللَّهِ الشَّمْسُ‏.‏ قَالَ ‏"‏ انْزِلْ فَاجْدَحْ لِي ‏"‏‏.‏ فَنَزَلَ، فَجَدَحَ لَهُ، فَشَرِبَ، ثُمَّ رَمَى بِيَدِهِ هَا هُنَا، ثُمَّ قَالَ ‏"‏ إِذَا رَأَيْتُمُ اللَّيْلَ أَقْبَلَ مِنْ هَا هُنَا فَقَدْ أَفْطَرَ الصَّائِمُ ‏"‏‏.‏ تَابَعَهُ جَرِيرٌ وَأَبُو بَكْرِ بْنُ عَيَّاشٍ عَنِ الشَّيْبَانِيِّ عَنِ ابْنِ أَبِي أَوْفَى قَالَ كُنْتُ مَعَ النَّبِيِّ صلى الله عليه وسلم فِي سَفَرٍ‏.‏
Reference : Sahih al-Bukhari 1941
In-book reference : Book 30, Hadith 48
USC-MSA web (English) reference : Vol. 3, Book 31, Hadith 162
  (deprecated numbering scheme)