I prayed with the Prophet ﷺ at Mina two rakahs, and with Abu Bakr and Umar likewise. I wish my share of the four rakahs were two accepted ones.
حدثنا محمد بن جعفر حدثنا شعبة عن سليمان قال سمعت عمارة بن عمير أو إبراهيم شعبة شك يحدث عن عبد الرحمن هو ابن يزيد
صليت مع النبي ﷺ بمنى ركعتين ومع أبي بكر وعمر فليت حظي من أربع ركعتان متقبلتان
Its isnad is sahih, and it is an abridgment of 4034 and a repetition of 3953. We have explained there that the doubt attributed to Shubah has no effect, and that the more correct view is that it is from Sulayman Amash from Ibrahim.