No one has the right in Islam to burry a dead body in the mosque. Masjid-e-Haram is the most superior of all the mosques, being the Qibla of all the mosques of the world.
A lady named Hajir is burned there. God has ordered all the human being to visit Mecca and perform the circumambulation of her grave. But Fatima's (S.A.) status is much sublime and higher than the lady who has been laid to rest in Kaabah.
Fatima (S.A.) is one of the four superior most and virtuous ladies i.e., Mariam, Asiyah, Khatija, Fatima. Which Fatima (S.A.)? Fatima (S.A.) is the heir of all the honors and virtues. Who is the one continuing the great race originating and beginning with Adam (A.S.), Ibrahim (A.S.), Moosa (A.S.), Essa [Christ] (A.S.) and reaching Mohammad (P.B.U.H.).
source : http://www.ezsoftech.com