Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:689bQutaybah b. Saʿīd > Yazīd / Ibn Zurayʿ > ʿUmar b. Muḥammad > Ḥafṣ b. ʿĀṣim > Mariḍt Maraḍ Fajāʾ Ibn ʿUmar Yaʿūdunī > And Saʾaltuh

I fell ill and lbn 'Umar came to inquire after my health, and I asked him about the glorification of Allah (i. e. prayer) while travelling. Thereupon he said: I accompanied the Messenger of Allah ﷺ on a journey but I did not see him glorifying Him, and were I to glorify (Him). I would have completed the prayer. Allah, the Exalted, has said:" Verily there is a model pattern for you in the Messenger of Allah."  

مسلم:٦٨٩bحَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ حَدَّثَنَا يَزِيدُ يَعْنِي ابْنَ زُرَيْعٍ عَنْ عُمَرَ بْنِ مُحَمَّدٍ عَنْ حَفْصِ بْنِ عَاصِمٍ قَالَ مَرِضْتُ مَرَضًا فَجَاءَ ابْنُ عُمَرَ يَعُودُنِي قَالَ وَسَأَلْتُهُ عَنِ السُّبْحَةِ فِي السَّفَرِ فَقَالَ

صَحِبْتُ رَسُولَ اللَّهِ ﷺ فِي السَّفَرِ فَمَا رَأَيْتُهُ يُسَبِّحُ وَلَوْ كُنْتُ مُسَبِّحًا لأَتْمَمْتُ وَقَدْ قَالَ اللَّهُ تَعَالَى { لَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللَّهِ إِسْوَةٌ حَسَنَةٌ}  


See similar narrations below:

Collected by Bukhārī
bukhari:1101Yaḥyá b. Sulaymān > Ibn Wahb > ʿUmar b. Muḥammad > Ḥafṣ b. ʿĀṣim > Sāfar Ibn ʿUmar

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 Messenger of Allah ﷺ you have a good example to follow.' " (33.21)  

البخاري:١١٠١حَدَّثَنَا يَحْيَى بْنُ سُلَيْمَانَ قَالَ حَدَّثَنِي ابْنُ وَهْبٍ قَالَ حَدَّثَنِي عُمَرُ بْنُ مُحَمَّدٍ أَنَّ حَفْصَ بْنَ عَاصِمٍ حَدَّثَهُ قَالَ سَافَرَ ابْنُ عُمَرَ ؓ فَقَالَ

صَحِبْتُ النَّبِيَّ ﷺ فَلَمْ أَرَهُ يُسَبِّحُ فِي السَّفَرِ وَقَالَ اللَّهُ جَلَّ ذِكْرُهُ {لَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللَّهِ أُسْوَةٌ حَسَنَةٌ}