(81) باب الأَبْوَابِ وَالْغَلَقِ لِلْكَعْبَةِ وَالْمَسَاجِدِ
Narrated Nafi`:
Ibn `Umar said, "The Prophet (ﷺ) arrived at Mecca and sent for `Uthman bin Talha. He opened the gate of the Ka`ba and the Prophet, Bilal, Usama bin Zaid and `Uthman bin Talha entered the Ka`ba and then they closed its door (from inside). They stayed there for an hour, and then came out." Ibn `Umar added, "I quickly went to Bilal and asked him (whether the Prophet (ﷺ) had prayed). Bilal replied, 'He prayed in it.' I asked, 'Where?' He replied, 'Between the two pillars.' "Ibn `Umar added, "I forgot to ask how many rak`at he (the Prophet) had prayed in the Ka`ba."
Reference: Sahih al-Bukhari 468
In-book reference: Book 8, Hadith 116
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 8, Hadith 457