The mother of the believers Aishah (Allah the Exalted be pleased with her) saw (in a dream) that it was as if there were three moons in her room. She informed Abu Bakr (Allah the Exalted by pleased with him) of this, and he said: If your dream is true, then in your home will be buried three of the best of the people of the earth. He said: When the Messenger of Allah (Allah bless Him and give Him peace) passed away and was buried in her home he said: O Aishah! This is one of your moons.
Referencing: This narration has a number of wordings, it was reported by al-Hakim in al-Mustadrak (3/60), al-Bayhaqi in al-Dalail (7/262) both of them from the hadith of Sufyan bin Uyaynah, from Yahya bin Saeed al-Ansari, from Saeed bin al-Musayyib from Aishah.
Al-Hakim said: This hadith is Sahih according to the criteria of the two sheikhs (Bukhari and Muslim) who did not relate it.
It was reported by al-Tabarani, al-Haithami said: Its narrators are those of the Sahih. Refer to ‘Kitab al-Ruya’ of Sayyidi Abdullah bin Siddiq (p.117).
1- The permissibility of burying in a building, whether with a roof or not, for the Prophets and other than them.
2- If it is permissible to bury in a building it would by extension mean it is permissible to build around a grave, or to have a roof over it. For the narrations forbidding built structures are specific to those which are on the actual grave itself and in contact with it, for there is a clear difference between ‘upon’ and ‘around’.