It is narrated from Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (ﷺ) entered the Ka'bah, and with him were Bilal, Usamah, and Uthman bin Talhah (may Allah be pleased with them). Ibn Umar (may Allah be pleased with him) says: I asked Bilal (may Allah be pleased with him), "What did the Messenger of Allah (ﷺ) do inside the Ka'bah?" Bilal (may Allah be pleased with him) replied: "One pillar was on his left side and one on his right side, while three pillars were behind him, and he (ﷺ) performed prayer." Ibn Umar (may Allah be pleased with him) said: "At that time, the roof of the House of Allah was supported by six pillars."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 180
Hadith Takhrijأخرجہ البخاری، الصلاۃ، باب الصلاۃ بین السواری فی غیر جماعۃ: 505 - ومسلم، الحج، باب استحباب دخول الکعبۃ للحاج وغیرہ، والصلاۃ فیہا والدعاء فی نواحیہا کلہا: 1329۔
It is narrated from Ibn Umar (may Allah be pleased with them both) that he stated: The Messenger of Allah (ﷺ) entered (the Ka'bah). Bilal, Uthman bin Talhah, and (the narrator says) I think he said Usama (may Allah be pleased with them) were also with him (ﷺ). When he (ﷺ) came out, I asked Bilal (may Allah be pleased with him), "What did the Messenger of Allah (ﷺ) do (inside the House of Allah)?" He replied, "He (ﷺ) placed one pillar on his right side, two pillars on his left side, and three pillars behind him, then he (ﷺ) prayed, and at that time the roof of the House of Allah was supported by six pillars."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 181
Hadith Takhrijأخرجہ البخاری، الصلاۃ، باب الصلاۃ بین السواری فی غیر جماعۃ: 505 - ومسلم، الحج، باب استحباب دخول الکعبۃ للحاج وغیرہ، والصلاۃ فیہا والدعاء فی نواحیہا کلہا: 1329۔