Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:7218[Chain 1] Abū al-Ḥusayn b. al-Faḍl al-Qaṭṭān> Abū Sahl b. Ziyād al-Qaṭṭān > Ismāʿīl b. Isḥāq al-Qāḍī > ʿAbdullāh b. Maslamah [Chain 2] Abū ʿAlī al-Rūdhbārī > Muḥammad b. Bakr > Abū Dāwud > al-Qaʿnabī > Mālik > Ibn Shihāb > Saʿīd b. al-Musayyib > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said: "May Allah curse the Jews; they made the graves of their Prophets places of worship."  

البيهقي:٧٢١٨أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ الْفَضْلِ الْقَطَّانُ بِبَغْدَادَ ثنا أَبُو سَهْلِ بْنِ زِيَادٍ الْقَطَّانُ ثنا إِسْمَاعِيلُ بْنُ إِسْحَاقَ الْقَاضِي ثنا عَبْدُ اللهِ بْنُ مَسْلَمَةَ ح وَأَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ مُحَمَّدُ بْنُ بَكْرٍ ثنا أَبُو دَاوُدَ ثنا الْقَعْنَبِيُّ عَنْ مَالِكٍ عَنِ ابْنِ شِهَابٍ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ قَاتَلَ اللهُ الْيَهُودَ اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنِ الْقَعْنَبِيِّ وَأَخْرَجَهُ مُسْلِمٌ مِنْ وَجْهٍ آخَرَ عَنْ مَالِكٍ

See similar narrations below:

Collected by Mālik
malik:9-93Mālik > Zayd b. Aslam > ʿAṭāʾ b. Yasār

Yahya related to me from Malik from Zayd ibn Aslam from Ata ibn Yasar that the Messenger of Allah ﷺ said, "O Allah! Do not make my grave an idol that is worshipped. The anger on those who took the graves of their Prophets as places of prostration was terrible."  

مالك:٩-٩٣وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ زَيْدِ بْنِ أَسْلَمَ عَنْ عَطَاءِ بْنِ يَسَارٍ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ اللَّهُمَّ لاَ تَجْعَلْ قَبْرِي وَثَنًا يُعْبَدُ اشْتَدَّ غَضَبُ اللَّهِ عَلَى قَوْمٍ اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ  

malik:45-17Mālik > Ismāʿīl b. Abū Ḥakīm > ʿUmar b. ʿAbd al-ʿAzīz

Yahya related to me from Malik from Ismail ibn Abi Hakim that he heard Umar ibn Abd al-Aziz say, "One of the last things that the Messenger of Allah ﷺ said was, 'May Allah fight the jews and the christians. They took the graves of their Prophets as places of prostration . Two deens shall not co-exist in the land of the Arabs.' "  

مالك:٤٥-١٧وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ إِسْمَاعِيلَ بْنِ أَبِي حَكِيمٍ أَنَّهُ سَمِعَ عُمَرَ بْنَ عَبْدِ الْعَزِيزِ

يَقُولُ كَانَ مِنْ آخِرِ مَا تَكَلَّمَ بِهِ رَسُولُ اللَّهِ ﷺ أَنْ قَالَ قَاتَلَ اللَّهُ الْيَهُودَ وَالنَّصَارَى اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ لاَ يَبْقَيَنَّ دِينَانِ بِأَرْضِ الْعَرَبِ