Abdullah bin Umar reported,

The Prophet ﷺ arrived and circled the Kaaba seven times, then prayed two units of prayer behind the Station of Ibrahim. After that, he went out to Safa. And Allah Most High has said, "Indeed, in the Messenger of Allah you have an excellent example to follow" [Ahzab 33:21].

Bukhari 1627

Sahih

حدثنا آدم حدثنا شعبة حدثنا عمرو بن دينار قال سمعت

ابن عمر رضي الله عنهما يقول

قدم النبي ﷺ فطاف بالبيت سبعا وصلى خلف المقام ركعتين ثم خرج إلى الصفا وقد قال الله تعالى {لقد كان لكم في رسول الله أسوة حسنة}

البخاري 1627صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Hajj
Chapter
One who prayed the two rakah of tawaf behind the Maqam
Numbering
Darussalam 1627
Bukhari 1627