It was narrated that Ata said:
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.'