Sahih Bukhari – Hadith No : 1330

Narrated `Urwa: Aisha said, “The Prophet in his fatal illness said, ‘Allah cursed the Jews and the Christians because they took the graves of their Prophets as places for praying.”‘ Aisha added, “Had it not been for that, the grave of the Prophet (p.b.u.h) would have been made prominent but I am afraid it might be taken (as a) place for praying.

Hadith In Arabic Text :

حدثنا عبيد الله بن موسى، عن شيبان، عن هلال هو الوزان عن عروة، عن عائشة رضى الله عنها عن النبي صلى الله عليه وسلم قال في مرضه الذي مات فيه ‏”‏ لعن الله اليهود والنصارى، اتخذوا قبور أنبيائهم مسجدا ‏”‏‏.‏ قالت ولولا ذلك لأبرزوا قبره غير أني أخشى أن يتخذ مسجدا‏.‏

Chapter : Funerals (Al-Janaa’iz) – كتاب الجنائز