Abdullah bin Umar reported,

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

Ahmad 6231

Sahih

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

عن عبد الله بن عمر

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

أحمد 6231صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 6231
Ahmad 6231