‘Ā’ishah and ‘Abdullāh ibn ‘Abbās (may Allah be pleased with both of them) reported:
As the Messenger of Allah (may Allah's peace and blessings be upon him) was about to breathe his last breath, he kept drawing his sheet over his face. When he felt uneased, he would uncover his face and say in that very state: "May the curse of Allah be upon the Jews and the Christians, for they took the graves of their prophets as places of worship." He wanted to warn against what they did.
Reported by Muslim (No. 531), Al-Bukhari (No. 435, 3453, 5815), An-Nasa’i (No. 703) and Ahmad (No. 1786, 24727).
'Ā’ishah and 'Abdullāh ibn' Abbās (may Allah be pleased with both of them) inform us that when the Prophet (may Allah's peace and blessings be upon him) was close to breathing his last, he kept drawing a piece of cloth upon his face. When he found it hard to breathe due to the throes of death, he would remove it from his face. While being in that tough condition, he said: May Allah curse the Jews and the Christians and expel them out of His mercy. Were it not for the seriousness of this matter, he would not mention it in a situation like that. Hence, the Prophet (may Allah's peace and blessings be upon him) forbade his Ummah from emulating this act, because it was done by the Jews and the Christians and because it is a means conducive to association of partners with Allah Almighty.
Lessons
It is prohibited to take the graves of the prophets and pious people as places of worship where prayer is offered to Allah, for this is a means to Shirk (polytheism).
The Messenger of Allah (may Allah’s peace and blessings be upon him) was so attentive and careful about Tawhīd (monotheism) and so fearful about exalting the graves, for this leads to Shirk.
It is permissible to curse the Jews and the Christians and those who follow them in building over the graves and taking them as places of worship.
Building over the graves is one of the customs of the Jews and the Christians, and imitating them is prohibited in this Hadīth.
Offering prayer at the graves or towards them falls under taking the graves as places of worship, even if no mosque is built there.
Explanation in Arabic
تُخبِرُنا عائشةُ أم المؤمنين وابنُ عباس رضي الله عنهما أنه حينما حَضرتْ النبيَّ صلى الله عليه وسلم الوفاةُ جعل يضع قطعةَ قماشٍ على وجهه، فإذا صعُب عليه التَّنفُّس بسبب سكرات الموت أزالها عن وجهه، فقال في تلك الحال الشديدة: لَعَنَ اللهُ اليهود والنصارى، وطَرَدَهم من رحمته؛ وذلك لأنهم اتخذوا قبور أنبيائهم مساجد؛ وذلك بالبناء عليها أو الصلاة عندها أو إليها. ولولا خطورة الأمر لَمَا ذكره في مثل هذا المقام، لذا نهى النبيُّ صلى الله عليه وسلم أمتَه عن مشابهة ذلك الفعل؛ لأنه من فعل اليهود والنصارى، ولأنه ذريعة موصلة للشرك بالله عز وجل.
أن هذا من وصاياه الأخيرة مما يدل على أهميتها والعناية بها.
النهي الأكيد، والتحريم الشديد من اتخاذ القبور مساجد، وقصد الصلاة عندها غير صلاة الجنازة؛ فذلك ذريعة إلى تعظيم الميت والطواف بقبره والتمسح بأركانه والنداء باسمه، وكل ذلك من الشرك ووسائله.
شدة اهتمام رسول الله صلى الله عليه وسلم واعتنائه بالتوحيد وخوفِه مِن تعظيم القبور؛ لأن ذلك يفضي إلى الشرك.
أن الله -تعالى- صان نبيه -عليه الصلاة والسلام- عن أن يُعْمَلَ الشرك عند قبره، فألهم أصحابه ومن بعدهم، أن يصونوا قبره من أن يبرز.
النهي عن التشبه باليهود والنصارى، وأن البناء على القبور من سننهم.
من اتخاذ القبور مساجد الصلاة عندها وإليها، ولو لم يُبْنَ مسجدٌ.
"May the curse of Allah be upon the Jews and Christians; they took the graves of their prophets as mosques." She said: If it were not for that, his grave would be made prominent; yet, it was feared that it might be taken as a mosque.