Abdullah bin Umar reported,

He came to the Kaabah and found that the Prophet ﷺ had already entered it along with Bilal and Usama, and Uthman bin Talha had closed the door behind them. They remained inside for a long while, then the door was opened and the Prophet ﷺ came out.He said, "I climbed the steps and entered the House, and I asked, 'Where did the Prophet ﷺ pray?'"They replied, "Right here."He said, "But I forgot to ask them how many units of prayer he performed."

Muslim 3234

Sahih

و حدثني حميد بن مسعدة حدثنا خالد يعني ابن الحارث حدثنا عبد الله بن عون عن نافع

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

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

مسلم 3234صحيح
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 3234
Muslim 3234