Abdullah bin Umar reported,

The Messenger of Allah ﷺ entered the Kaabah, and as his exit drew near, I had something to attend to, so I went off and returned quickly, only to find the Messenger of Allah ﷺ coming out.I asked Bilal, "Did the Messenger of Allah ﷺ pray inside the Kaabah?"He replied, "Yes, two units of prayer between the two pillars."

Nasai 2910

Sahih

أخبرنا عمرو بن علي قال حدثنا يحيى قال حدثنا السائب بن عمر قال حدثني ابن أبي مليكة أن

ابن عمر قال

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

النسائي 2910صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Rituals of Hajj
Chapter
Place of prayer in the house
Numbering
Darussalam 2910
Nasai 2910