"I head Ibn Abbas sya: 'Usmah bin Zaid told me that the Prophet entered the YHouse, and supplicated in all its corner, but he did not pray inside unitl he came out; when he came out he prayed two Rakahs in front of the Kabah.'"
أَنَّ النَّبِيَّ ﷺ دَخَلَ الْبَيْتَ فَدَعَا فِي نَوَاحِيهِ كُلِّهَا وَلَمْ يُصَلِّ فِيهِ حَتَّى خَرَجَ مِنْهُ فَلَمَّا خَرَجَ رَكَعَ رَكْعَتَيْنِ فِي قُبُلِ الْكَعْبَةِ