In either case, it becomes clear that opposing their practice is something the Lawgiver seeks in general. The prohibition of such conduct—reinforced by the Prophet’s invoking Allah’s curse upon the Jews and Christians—is widely transmitted from him ﷺ. In the two Ṣaḥīḥs it is related from Abū Hurayrah, may Allah be pleased with him, that the Messenger of Allah ﷺ said: “May Allah combat the Jews (1); they have taken the graves of their prophets as mosques.” (2)
In another wording recorded by Muslim (3): “Allah has cursed the Jews and the Christians; they took the graves of their prophets as mosques.” (4)
And in the two Ṣaḥīḥs it is also reported from ʿĀʾishah and Ibn ʿAbbās (5) that they said: “When death approached the Messenger of Allah ﷺ, he began to draw a cloak over his face; whenever it weighed upon him he would uncover his face, and while in that state he declared: ‘May Allah’s curse be upon the Jews and the Christians; they took the graves of their prophets as mosques,’ warning against what they had done.” (6)
The two Ṣaḥīḥs likewise narrate from ʿĀʾishah: “That Umm Salama and Umm Ḥabībah (7) had mentioned…"