The Messenger of Allah ﷺ as saying: Allah's curse to be on the Jews, they made the graves of their Prophets mosques. (Using translation from Abū Dāʾūd 3227)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ لَعَنَ اللهُ أَقْوَامًا اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ