Sahih al-Bukhari 1657
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا قَبِيصَةُ بْنُ عُقْبَةَ، حَدَّثَنَا سُفْيَانُ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ يَزِيدَ، عَنْ عَبْدِ اللَّهِ ـ رضى الله عنه ـ قَالَ صَلَّيْتُ مَعَ النَّبِيِّ صلى الله عليه وسلم رَكْعَتَيْنِ، وَمَعَ أَبِي بَكْرٍ ـ رضى الله عنه ـ رَكْعَتَيْنِ وَمَعَ عُمَرَ ـ رضى الله عنه ـ رَكْعَتَيْنِ، ثُمَّ تَفَرَّقَتْ بِكُمُ الطُّرُقُ، فَيَا لَيْتَ حَظِّي مِنْ أَرْبَعٍ رَكْعَتَانِ مُتَقَبَّلَتَانِ.
Narrated `Abdullah bin Mas`ud:
I offered (only a) two rak`at prayer with the Prophet (at Mina), and similarly with Abu Bakr and with `Umar, and then you d offered in opinions. Wish that I would be lucky enough to have two of the four rak`at accepted (by Allah).
Full reference and source
Sahih al-Bukhari 1657 In-book : Book 25, Hadith 138 USC-MSA web (English) : Vol. 2, Book 26, Hadith 719 (deprecated)
View source on Sunnah.com (opens in a new tab)