Sunan an-Nasa'i, Book 21, Hadith 230 (Nasa'i 2052)

It was narrated from Abu Hurairah that the Messenger of Allah said:

"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