The Messenger of Allah ﷺ performed seven circuits around the House, jogging during the first three and walking during the remaining four. He then stood at the Station, where he prayed two units of prayer. He recited "And take from the Station of Ibrahim a place of prayer" [Baqarah 2:125], raising his voice so that the people could hear him.He then turned away, touched the corner, and proceeded onward, saying, "We begin with what Allah began with." So he began with Safa, climbing it until the House came into his view. He then said three times, "There is no god but Allah alone, with no partner. To Him belongs the dominion, to Him belongs all praise. He gives life and causes death, and He has power over all things." He magnified Allah and praised Him, then supplicated with whatever was decreed for him.He then descended, walking until his feet entered the bottom of the valley, where he ran until his feet ascended on the other side. He continued walking until he reached Marwa and climbed it. When the House came into his view, he said, "There is no god but Allah alone, with no partner. To Him belongs the dominion, to Him belongs all praise. And He has power over all things." He said this three times, then he remembered Allah, glorified Him, and praised Him, then supplicated with whatever Allah willed.He continued doing this until he completed the circuits.
أخبرنا محمد بن عبد الله بن عبد الحكم عن شعيب قال أنبأنا الليث عن ابن الهاد عن جعفر بن محمد عن أبيه
طاف رسول الله ﷺ بالبيت سبعا رمل منها ثلاثا ومشى أربعا ثم قام عند المقام فصلى ركعتين ثم قرأ {واتخذوا من مقام إبراهيم مصلى} ورفع صوته يسمع الناس ثم انصرف فاستلم ثم ذهب فقال نبدأ بما بدأ الله به فبدأ بالصفا فرقي عليها حتى بدا له البيت فقال ثلاث مرات لا إله إلا الله وحده لا شريك له له الملك وله الحمد يحيي ويميت وهو على كل شيء قدير فكبر الله وحمده ثم دعا بما قدر له ثم نزل ماشيا حتى تصوبت قدماه في بطن المسيل فسعى حتى صعدت قدماه ثم مشى حتى أتى المروة فصعد فيها ثم بدا له البيت فقال لا إله إلا الله وحده لا شريك له له الملك وله الحمد وهو على كل شيء قدير قال ذلك ثلاث مرات ثم ذكر الله وسبحه وحمده ثم دعا عليها بما شاء الله فعل هذا حتى فرغ من الطواف
Its chain is sahih. Abu Dawud narrated it, "The Letters and Recitations," 1, no. 3969, and Tirmidhi, no. 856, 862, and Ibn Majah, no. 1008, from the hadith of Jafar through this route, and it is in al-Kubra, no. 3967. Tirmidhi said, hasan sahih, and Ibn Mulaqqin graded it sahih in Tuhfat al-Muhtaj, 1/175, no. 61, and its basis is in Sahih Muslim, no. 1218, and elsewhere.