Abdullah bin Umar reported,

The Messenger of Allah ﷺ entered the Kaabah along with Uthman bin Talha, Usama bin Zayd, and Bilal, and the door was shut behind them. When he came out, I asked Bilal, "What did the Messenger of Allah ﷺ do inside?"Bilal replied, "He left two pillars on his right, one pillar on his left, and three pillars behind him, then he prayed, with three cubits between him and the qiblah."Ishaq said, "The House at that time stood on six pillars," and he did not mention the pillar that was between him and the qiblah.

Ahmad 5927

Sahih

حدثنا عبد الرحمن بن مهدي حدثنا مالك وإسحاق قال أنبأنا مالك عن نافع

عن ابن عمر

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

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