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:545Aḥmad b. Manīʿ > Hushaym > ʿAlī b. Zayd b. Judʿān al-Qurashī > Abū Naḍrah > Suʾil ʿImrān b. Ḥuṣayn > Ṣalāh al-Musāfir

"Imran bin Husain was asked about the traveler's prayer. He said: 'I performed Hajj with the Messenger of Allah, and he prayed two Rak'ah. I performed Hajj with Abu Bakr, and he prayed two Rak'ah and with Umar, and he prayed two Rak;ah; and with Uthman for six years of his Khilafah, or eight years, and he prayed two Rak'ah."  

Abū ʿĪsá said that this Ḥadīth is Ḥasan-Ṣaḥīḥ.
الترمذي:٥٤٥حَدَّثَنَا أَحْمَدُ بْنُ مَنِيعٍ حَدَّثَنَا هُشَيْمٌ أَخْبَرَنَا عَلِيُّ بْنُ زَيْدِ بْنِ جُدْعَانَ الْقُرَشِيُّ عَنْ أَبِي نَضْرَةَ قَالَ سُئِلَ عِمْرَانُ بْنُ حُصَيْنٍ عَنْ صَلاَةِ الْمُسَافِرِ فَقَالَ

حَجَجْتُ مَعَ رَسُولِ اللَّهِ ﷺ فَصَلَّى رَكْعَتَيْنِ وَحَجَجْتُ مَعَ أَبِي بَكْرٍ فَصَلَّى رَكْعَتَيْنِ وَمَعَ عُمَرَ فَصَلَّى رَكْعَتَيْنِ وَمَعَ عُثْمَانَ سِتَّ سِنِينَ مِنْ خِلاَفَتِهِ أَوْ ثَمَانِيَ سِنِينَ فَصَلَّى رَكْعَتَيْنِ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ

See similar narrations below:

Collected by Aḥmad, Ṭabarānī
ahmad:6352ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > Sālim > Ibn ʿUmar

"I prayed two rak'ahs with the Messenger of Allah ﷺ in Mina, and with Abu Bakr and 'Umar, and two rak'ahs with 'Uthman at the beginning of his Caliphate." (Using translation from Nasāʾī 1447)   

أحمد:٦٣٥٢حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنْ سَالِمٍ عَنِ ابْنِ عُمَرَ قَالَ

صَلَّيْتُ مَعَ رَسُولِ اللهِ ﷺ بِمِنًى رَكْعَتَيْنِ وَمَعَ أَبِي بَكْرٍ رَكْعَتَيْنِ وَمَعَ عُمَرَ رَكْعَتَيْنِ وَمَعَ عُثْمَانَ صَدْرًا مِنْ خِلَافَتِهِ ثُمَّ صَلَّاهَا أَرْبَعًا  

tabarani:10144Abū Muslim al-Kashhī > ʿAmr b. Marzūq > Shuʿbah > al-Aʿmash > ʿUmārah b. ʿUmayr or Ghayrah > ʿAbd al-Raḥman b. Yazīd > ʿAbdullāh

[Machine] I performed Hajj with the Messenger of Allah ﷺ, and he prayed two units of prayer in Mina. And with Abu Bakr, he prayed two units of prayer. And with Umar, he prayed two units of prayer. I wished that my two accepted units of prayer would be the same as theirs. Qais ibn al-Rabi` differed from them.  

الطبراني:١٠١٤٤حَدَّثَنَا أَبُو مُسْلِمٍ الْكَشِّيُّ ثنا عَمْرُو بْنُ مَرْزُوقٍ أنا شُعْبَةُ عَنِ الْأَعْمَشِ قَالَ سَمِعْتُ عُمَارَةَ بْنَ عُمَيْرٍ أَوْ غَيْرَهُ يُحَدِّثُ عَنْ عَبْدِ الرَّحْمَنِ بْنِ يَزِيدَ عَنْ عَبْدِ اللهِ قَالَ

حَجَجْتُ مَعَ رَسُولِ اللهِ ﷺ فَصَلَّى بِمِنًى رَكْعَتَيْنِ وَمَعَ أَبِي بَكْرٍ فَصَلَّى رَكْعَتَيْنِ وَمَعَ عُمَرَ فَصَلَّى رَكْعَتَيْنِ فَلَيْتَ حَظِّي رَكْعَتَيْنِ مُتَقَبَّلَتَيْنِ وَخَالَفَهُمْ قَيْسُ بْنُ الرَّبِيعِ  

tabarani:3251Aḥmad b. ʿAmr al-Ziʾbaqī > ʿAlī b. al-Ḥusayn al-Dirhamī > al-Faḍl b. al-ʿAlāʾ > Ashʿath b. Sawwār > Abū Isḥāq > Ḥārithah b. WahbAw Wahb b. Ḥārithah

"I prayed two rak'ahs with the Messenger of Allah ﷺ in Mina, and with Abu Bakr and 'Umar, and two rak'ahs with 'Uthman at the beginning of his Caliphate." (Using translation from Nasāʾī 1447)   

الطبراني:٣٢٥١حَدَّثَنَا أَحْمَدُ بْنُ عَمْرٍو الزِّئْبَقِيُّ ثنا عَلِيُّ بْنُ الْحُسَيْنِ الدِّرْهَمِيُّ ثنا الْفَضْلُ بْنُ الْعَلَاءِ عَنْ أَشْعَثَ بْنِ سَوَّارٍ عَنْ أَبِي إِسْحَاقَ عَنْ حَارِثَةَ بْنِ وَهْبٍ أَوْ وَهْبِ بْنِ حَارِثَةَ قَالَ

صَلَّيْتُ مَعَ رَسُولِ اللهِ ﷺ بِمَكَّةَ وَبِمِنًى رَكْعَتَيْنِ وَمَعَ أَبِي بَكْرٍ رَكْعَتَيْنِ وَمَعَ عُمَرَ رَكْعَتَيْنِ وَمَعَ عُثْمَانَ صَدْرًا مِنْ خِلَافَتِهِ رَكْعَتَيْنِ