"The Messenger of Allah came and circumambulated the House seven times, then he prayed two Rakahs behind the Maqam and performed Sai between As-Safa and Al-Marwah, and he said: 'Indeed in the Messenger of Allah you have a good example to follow." (Using translation from Nasāʾī 2960)
قَدِمَ رَسُولُ اللهِ ﷺ فَطَافَ بِالْبَيْتِ سَبْعًا فَصَلَّى خَلْفَ الْمَقَامِ رَكْعَتَيْنِ وَسَعَى بَيْنَ الصَّفَا وَالْمَرْوَةِ ثُمَّ قَالَ {لَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللهِ أُسْوَةٌ حَسَنَةٌ} [الأحزاب 21]