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.
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لَعَنَ اللَّهُ الْيَهُودَ وَالنَّصَارَى اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ