CHAPTER. The Statement of Allah: “... And take you (people) the Maqam (place) of Ibrahim (Abraham) (or the stone on which Abrahim stood while he was building the Kabah) as a place of prayer (for some of your Salat e.g., two Raka after the Tawaf of Kabah) ...”
Narrated `Amr bin Dinar: I asked Ibn `Umar, Can a person who has performed the Tawaf around the Ka`ba for `Umra but has not performed the (Sa`i) Tawaf of Safa and Marwa, have a sexual relation with his wife? Ibn `Umar replied When the Prophet reached Mecca he performed the Tawaf around the Ka`ba (circumambulated it seven times) and offered a two-rak`at prayer (at the place) behind the station (of Abraham) and then performed the Tawaf (Sa`i) of Safa and Marwa, and verily in Allah's Apostle you have a good example.
Then we put the same question to Jabir bin `Abdullah and he too replied, He should not go near his wife (for sexual relation) till he has finished the Tawaf of Safa and Marwa.
Narrated Mujahid: Someone came to Ibn `Umar and said, Here is Allah's Apostle entering the Ka`ba. Ibn `Umar said, I went there but the Prophet had come out of the Ka`ba and I found Bilal standing between its two doors. I asked Bilal, 'Did the Prophet pray in the Ka`ba?' Bilal replied, 'Yes, he prayed two rak`at between the two pillars which are to your left on entering the Ka`ba. Then Allah's Apostle came out and offered a two-rak`at prayer facing the Ka`ba.'
Narrated Ibn `Abbas: When the Prophet entered the Ka`ba, he invoked Allah in each and every side of it and did not pray till he came out of it, and offered a two-rak`at prayer facing the Ka`ba and said, This is the Qibla.