(11) باب مَنْ لَمْ يَتَطَوَّعْ فِي السَّفَرِ دُبُرَ الصَّلاَةِ وَقَبْلَهَا
Narrated Hafs bin `Asim:
Ibn `Umar went on a journey and said, "I accompanied the Prophet (ﷺ) and he did not offer optional prayers during the journey, and Allah says: 'Verily! In Allah's Messenger (ﷺ) you have a good example to follow.' " (33.21)
Reference: Sahih al-Bukhari 1101
In-book reference: Book 18, Hadith 21
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 20, Hadith 205