Allah's Messenger (ﷺ) in his fatal illness said, "Allah cursed the Jews and the…

Sahih al-Bukhari Book 23 Hadith 143

Sahih al-Bukhari #1390

Funerals (Al-Janaa'iz) 23:143

Narrated `Aisha:

Allah's Messenger (ﷺ) in his fatal illness said, "Allah cursed the Jews and the Christians, for they built the places of worship at the graves of their prophets." And if that had not been the case, then the Prophet's grave would have been made prominent before the people. So (the Prophet (ﷺ) ) was afraid, or the people were afraid that his grave might be taken as a place for worship.

Chapter: The graves of the Prophet (pbuh), Abu Bakr, and Umar Radiyallahu Anhu

Grade: Sahih