The Messenger of Allah (ﷺ) as saying: Allah's curse to be on the Jews, they made the graves of their Prophets mosques.
Sunan Abi Dawud Book 21, Hadith 139