Sunan Abi Dawud, Book 21, Hadith 139 (Abu Dawud 3228)

Narrated Abu Hurairah:

The Messenger of Allah (ﷺ) as saying: Allah's curse to be on the Jews, they made the graves of their Prophets mosques.