(69) باب صَلَّى النَّبِيُّ صلى الله عليه وسلم لِسُبُوعِهِ رَكْعَتَيْنِ
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 Messenger (ﷺ) 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." 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. "
Reference: Sahih al-Bukhari 1623, 1624
In-book reference: Book 25, Hadith 108
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 26, Hadith 690