Abdullah bin Umar reported,

The Messenger of Allah ﷺ entered the Kaabah along with Usama, Bilal, and Uthman bin Talha al-Hajabi. He had the door shut behind him and remained inside for some time.Ibn Umar said, "When Bilal came out, I asked him what the Messenger of Allah ﷺ had done 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."

Muslim 3230

Sahih

حدثنا يحيى بن يحيى التميمي قال قرأت على مالك عن نافع

عن ابن عمر

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

مسلم 3230صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hajj
Chapter
Recommendation of entering the Kaaba for the pilgrim and others, praying therein, and supplicating in all its corners
Numbering
Darussalam 3230
Muslim 3230