Abdullah bin Umar reported,

Ibn Umar reported that the Messenger of Allah ﷺ entered the Kaabah along with Usama, Bilal, and Uthman bin Talha al-Hajabi. He closed the door behind them and remained inside for a while.Ibn Umar said, "When Bilal came out, I asked him, 'What did the Messenger of Allah ﷺ do inside?'"Bilal replied, "He placed two pillars on his left, one pillar on his right, and three pillars behind him. The House at that time stood on six pillars. Then he prayed."

Azami 5301

Sahih

عن ابن عمر

أن رسول الله ﷺ دخل الكعبة هو وأسامة وبلال وعثمان بن طلحة الحجبي، فأغلقها عليه، ثم مكث فيها. قال ابن عمر: فسألت بلالا حين خرج: ما صنع رسول الله ﷺ؟ قال: جعل عمودين عن يساره، وعمودا عن يمينه، وثلاثة أعمدة وراءه، وكان البيت يومئذ على ستة أعمدة، ثم صلى.

الأعظمي 5301صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Description of the Hajj of the Prophet ﷺ as narrated by Jabir and others, and the rulings mentioned therein
Section
Prayer in the Kaaba
Numbering
Jami al-Kamil 5301 (2nd edition)
Azami 5301