وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، حَدَّثَنَا هِشَامٌ، أَخْبَرَنِي أَبِي، عَنْ عَائِشَةَ، أَنَّ أُمَّ حَبِيبَةَ، وَأُمَّ سَلَمَةَ ذَكَرَتَا كَنِيسَةً رَأَيْنَهَا بِالْحَبَشَةِ - فِيهَا تَصَاوِيرُ - لِرَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِنَّ أُولَئِكِ إِذَا كَانَ فِيهِمُ الرَّجُلُ الصَّالِحُ فَمَاتَ بَنَوْا عَلَى قَبْرِهِ مَسْجِدًا وَصَوَّرُوا فِيهِ تِلْكَ الصُّوَرَ أُولَئِكِ شِرَارُ الْخَلْقِ عِنْدَ اللَّهِ يَوْمَ الْقِيَامَةِ ‏"‏ ‏.‏
Translation
Abu Huraira reported

The Messenger of Allah (ﷺ) said: Let there be curse of Allah upon the Jews and the Christians for they have taken the graves of their apostles as places of worship.

Comment

The Book of Mosques and Places of Prayer - Sahih Muslim 530 b

The Messenger of Allah (ﷺ) said: "Let there be curse of Allah upon the Jews and the Christians for they have taken the graves of their apostles as places of worship."

Commentary on the Prohibition of Grave Worship

This profound hadith establishes one of the fundamental principles of Islamic monotheism - the absolute prohibition of shirk (associating partners with Allah) through grave worship. The curse mentioned here is a severe divine warning against transforming burial sites into objects of veneration or places of prayer.

The Jews and Christians are specifically mentioned because they were observed to have elevated the graves of their prophets into shrines and places of worship, thereby committing shirk. This serves as a clear warning to the Muslim ummah to avoid similar practices that compromise tawhid (divine unity).

Scholarly Interpretation

Classical scholars like Imam Nawawi explains that this prohibition extends beyond merely praying at graves to include building structures over them, lighting lamps there, or treating them as mosques. The wisdom behind this prohibition is to safeguard the purity of worship directed solely to Allah.

Ibn Taymiyyah elaborates that this curse applies to anyone who follows this practice, not exclusively Jews and Christians. The mention of these two communities serves as an example and warning for Muslims to avoid similar innovations.

Practical Implications

This hadith forms the basis for the Islamic ruling against constructing mosques over graves, praying toward graves, or seeking intercession from the deceased. It preserves the distinction between honoring righteous predecessors and engaging in acts that constitute shirk.

Muslims are permitted to visit graves for remembrance of death and to pray for the deceased, but must strictly avoid any actions that resemble worship of the graves or their inhabitants.