The Prophet ﷺ prayed two rakats inside the House.
حدثنا إسماعيل أخبرنا ليث عن مجاهد
أن النبي ﷺ صلى في البيت ركعتين
No references are available.
Its chain of transmission is sahih. Layth is Ibn Sulaym. The hadith is a repeat of 5065, and an abridgment of 5066.