[Machine] As for the Messenger of Allah ﷺ, he circled the Kaaba, then performed two units of prayer, then circled between Safa and Marwah, then recited "Indeed in the Messenger of Allah you have a good example" [Al-Ahzab 21]. They narrated it from the narration of Ibn Jurayj.
أَمَّا رَسُولُ اللهِ ﷺ فَقَدْ طَافَ بِالْبَيْتِ ثُمَّ رَكَعَ رَكْعَتَيْنِ ثُمَّ طَافَ بَيْنَ الصَّفَا وَالْمَرْوَةِ ثُمَّ تَلَا {لَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللهِ أُسْوَةٌ حَسَنَةٌ} [الأحزاب 21] أَخْرَجَاهُ مِنْ حَدِيثِ ابْنِ جُرَيْجٍ