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.
tirmidhi:551ʿAlī b. Ḥujr > Ḥafṣ b. Ghiyāth > al-Ḥajjāj > ʿAṭiyyah > Ibn ʿUmar

"I prayed Zuhr with the Prophet on a journey as two Rak'ah, and two Rak'ah after it."  

الترمذي:٥٥١حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ عَنِ الْحَجَّاجِ عَنْ عَطِيَّةَ عَنِ ابْنِ عُمَرَ قَالَ

صَلَّيْتُ مَعَ النَّبِيِّ ﷺ الظُّهْرَ فِي السَّفَرِ رَكْعَتَيْنِ وَبَعْدَهَا رَكْعَتَيْنِ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ وَقَدْ رَوَاهُ ابْنُ أَبِي لَيْلَى عَنْ عَطِيَّةَ وَنَافِعٍ عَنِ ابْنِ عُمَرَ

See similar narrations below:

Collected by Tirmidhī, Nasāʾī's Kubrá
tirmidhi:425Aḥmad b. Manīʿ > Ismāʿīl b. Ibrāhīm > Ayyūb > Nāfiʿ > Ibn ʿUmar

"I prayed two Rak'ah with the Prophet (S) before Az-Zuhr and two Rak'ah after it."  

الترمذي:٤٢٥حَدَّثَنَا أَحْمَدُ بْنُ مَنِيعٍ حَدَّثَنَا إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ عَنْ أَيُّوبَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

صَلَّيْتُ مَعَ النَّبِيِّ ﷺ رَكْعَتَيْنِ قَبْلَ الظُّهْرِ وَرَكْعَتَيْنِ بَعْدَهَا قَالَ وَفِي الْبَابِ عَنْ عَلِيٍّ وَعَائِشَةَ  

قَالَ أَبُو عِيسَى حَدِيثُ ابْنِ عُمَرَ حَدِيثٌ صَحِيحٌ
nasai-kubra:513Muḥammad b. ʿAlī b. al-Ḥasan b. Shaqīq from my father > Abū Ḥamzah > Manṣūr > Ibrāhīm > ʿAlqamah > ʿAbdullāh

[Machine] "I prayed with the Prophet ﷺ two units of prayer while travelling."  

الكبرى للنسائي:٥١٣أَخْبَرَنَا مُحَمَّدُ بْنُ عَلِيِّ بْنِ الْحَسَنِ بْنِ شَقِيقٍ قَالَ أَخْبَرَنَا أَبِي قَالَ أَخْبَرَنَا أَبُو حَمْزَةَ عَنْ مَنْصُورٍ عَنْ إِبْرَاهِيمَ عَنْ عَلْقَمَةَ عَنْ عَبْدِ اللهِ قَالَ

«صَلَّيْتُ مَعَ النَّبِيِّ ﷺ فِي السَّفَرِ رَكْعَتَيْنِ»