"May Allah curse the Jews and Christians who took the graves of their prophets as Masjids." (Sahih) Chpater 107. It Is Disliked to Walk Between Grave Wearing Sibtiyah Sandals
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لَعَنَ اللَّهُ الْيَهُودَ وَالنَّصَارَى اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ