Question: What is the ruling on a person who builds or participates in building a Masjid (mosque) on top of a dead person’s grave and beside other graves? Is it an aspect of Shirk (associating others with Allaah in His Divinity or worship) to build a Masjid in this place? What about someone whose job is to decorate or paint this Masjid? What is the ruling on the money that they get from this job especially if they are in dire need of money?
Answer: It is authentically narrated that Allaah’s Messenger (peace be upon him) said: Let there be the curse of Allaah upon the Jews and the Christians for they have taken the graves of their Prophets as places of worship. It is also authentically narrated that he (peace be upon him) said… read more here.