Imran bin Husayn reported,

I performed Hajj with the Messenger of Allah ﷺ and he prayed two rakahs. I performed Hajj with Abu Bakr and he prayed two rakahs, and with Umar and he prayed two rakahs, and with Uthman for six years of his caliphate, or eight years, and he prayed two rakahs. Then Uthman prayed four after that.

Azami 5085

Hasan

في حديث صلاة المسافر

عن عمران بن حصين فقال

حججت مع رسول الله ﷺ فصلى ركعتين، وحججت مع أبي بكر فصلى ركعتين، ومع عمر فصلى ركعتين، ومع عثمان ست سنين من خلافته أو ثماني سنين فصلى ركعتين- ثم إن عثمان صلى بعد ذلك أربعا.

الأعظمي 5085حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Description of the Hajj of the Prophet ﷺ as narrated by Jabir and others, and the rulings mentioned therein
Section
Shortening the prayer at Mina
Numbering
Jami al-Kamil 5085 (2nd edition)
Azami 5085