It was narrated that Ibn ‘Umar said: “The Messenger of Allah صلی اللہ علیہ وآلہ وسلم entered the Ka’bah, and was about to come out, when I thought of something, so I came quickly and I found the Messenger of Allah صلی اللہ علیہ وآلہ وسلم coming out. I asked Bilal: ‘Did the Messenger of Allah صلی اللہ علیہ وآلہ وسلم pray inside the Ka’bah?’ He said: ‘Yes, two Rak’ahs between the two columns.” (Sahih)