(3) باب النَّهْيِ عَنْ بِنَاءِ الْمَسَاجِدِ عَلَى الْقُبُورِ وَاتِّخَاذِ الصُّوَرِ فِيهَا وَالنَّهْيِ عَنِ اتِّخَاذِ الْقُبُورِ مَسَاجِدَ
Abu Huraira reported:
The Messenger of Allah (ﷺ) said: Let Allah destroy the Jews for they have taken the graves of their apostles as places of worship.
Reference: Sahih Muslim 530 a
In-book reference: Book 5, Hadith 25
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1080