Abdullah bin Umar reported,

The Prophet ﷺ arrived and circled the House seven times, then prayed two units of prayer behind the Station, and afterward went out to Safa. Allah the Exalted has said, "Indeed, you have in the Messenger of Allah an excellent example to follow" [Ahzab 33:21].

Azami 5026

Sahih

عن ابن عمر، قال

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

الأعظمي 5026صحيح
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
Recommendation to pray two rakahs of tawaf behind the Maqam, and to recite in them "Say, He is Allah, the One" and "Say, O you disbelievers"
Numbering
Jami al-Kamil 5026 (2nd edition)
Azami 5026