Abdullah bin Umar reported,

The Messenger of Allah ﷺ entered the Kaabah along with Usama, Bilal, and Uthman bin Talha al-Hajabi, and the door was closed behind them. He remained inside for some time.Ibn Umar said, "When Bilal came out, I asked him, 'What did the Messenger of Allah ﷺ do inside?'"Bilal replied, "He stood with 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 3061

Sahih

عن ابن عمر

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

الأعظمي 3061صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Mosques
Section
Prayer in the noble Kaaba
Numbering
Jami al-Kamil 3061 (2nd edition)
Azami 3061