صحيح البخاري Sahih Bukhari كتاب الحج The Book of Hajj
بَابُ صَلَّى النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لِسُبُوعِهِ رَكْعَتَيْنِ:

(69) Chapter. The Prophet ﷺ offered a two Raka prayer after his seven round (of Tawaf of the Kabah).

2 hadith
Hadith 1623
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ ، حَدَّثَنَا سُفْيَانُ ، عَنْ عَمْرٍو ، " سَأَلْنَا ابْنَ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا ، أَيَقَعُ الرَّجُلُ عَلَى امْرَأَتِهِ فِي الْعُمْرَةِ قَبْلَ أَنْ يَطُوفَ بَيْنَ الصَّفَا وَالْمَرْوَةِ ؟ , قال : قَدِمَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، فَطَافَ بِالْبَيْتِ سَبْعًا ، ثُمَّ صَلَّى خَلْفَ الْمَقَامِ رَكْعَتَيْنِ وَطَافَ بَيْنَ الصَّفَا وَالْمَرْوَةِ ، وَقَالَ : لَقَدْ كَانَ لَكُمْ فِي رَسُولِ اللَّهِ أُسْوَةٌ حَسَنَةٌ سورة الأحزاب آية 21 .
Narrated `Amr: We asked Ibn `Umar: "May a man have sexual relations with his wife during the Umra before performing Tawaf between Safa and Marwa?" He said, "Allah's Apostle arrived (in Mecca) and circumambulated the Ka`ba seven times, then offered two rak`at behind Maqam Ibrahim (the station of Abraham), then performed Tawaf between Safa and Marwa." Ibn `Umar added, "Verily! In Allah's Apostle you have a good example."
Hadith Reference Sahih Bukhari / The Book of Hajj / Hadith: 1623
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1624
قَالَ : وَسَأَلْتُ جَابِرَ بْنَ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُمَا ، فَقَالَ : لَا يَقْرَبُ امْرَأَتَهُ حَتَّى يَطُوفَ بَيْنَ الصَّفَا وَالْمَرْوَةِ " .
And I asked Jabir bin `Abdullah (the same question), and he replied, "You should not go near your wives (have sexual relations) till you have finished Tawaf between Safa and Marwa. "
Hadith Reference Sahih Bukhari / The Book of Hajj / Hadith: 1624
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة