Abdullah bin Umar reported,

The Messenger of Allah ﷺ entered the House along with Usama bin Zayd, Bilal, and Uthman bin Talha, and they shut the door behind them. When they opened it, I was the first to enter. I met Bilal and asked him whether the Messenger of Allah ﷺ had prayed inside it.He replied, "Yes, between the two Yemeni pillars."

Bukhari 1598

Sahih

حدثنا قتيبة بن سعيد حدثنا الليث عن ابن شهاب

عن سالم عن أبيه أنه قال

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

البخاري 1598صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Hajj
Chapter
Closing the house and praying in whichever part of the house one wishes
Numbering
Darussalam 1598
Bukhari 1598