كتاب الحج
15  
The Book of Pilgrimage
(28)
Chapter: It is recommended for the pilgrim to perform Tawaf Al-Qudum and As-Sa'i after it
(28)
باب مَا يَلْزَمُ مَنْ أَحْرَمَ بِالْحَجِّ ثُمَّ قَدِمَ مَكَّةَ مِنَ الطَّوَافِ وَالسَّعْىِ ‏
Sahih Muslim 1234 a

Amr b. Dinar said:

We asked Ibn Umar about a person who came for Umra and circumambulated the House, but he did not run between al-Safa' and al-Marwa, whether he is allowed to (put off Ihram) and have intercourse with his wife. He replied: Allah's Messenger (ﷺ) circumambulated the House seven times and offered two rak'ahs of prayer after staying (at 'Arafat), and ran between al-Safa and al-Marwa seven times." Verily there is in Allah's Messenger a model pattern for you" (xxxill. 21).
حَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ عَمْرِو بْنِ دِينَارٍ، قَالَ سَأَلْنَا ابْنَ عُمَرَ عَنْ رَجُلٍ، قَدِمَ بِعُمْرَةٍ فَطَافَ بِالْبَيْتِ وَلَمْ يَطُفْ بَيْنَ الصَّفَا وَالْمَرْوَةِ أَيَأْتِي امْرَأَتَهُ فَقَالَ قَدِمَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَطَافَ بِالْبَيْتِ سَبْعًا وَصَلَّى خَلْفَ الْمَقَامِ رَكْعَتَيْنِ وَبَيْنَ الصَّفَا وَالْمَرْوَةِ سَبْعًا وَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللَّهِ أُسْوَةٌ حَسَنَةٌ ‏.‏
Reference : Sahih Muslim 1234a
In-book reference : Book 15, Hadith 207
USC-MSA web (English) reference : Book 7, Hadith 2848
  (deprecated numbering scheme)