Question
A place that has been endowed for prayer, and on which prayer has been offered for a long time (that is, it is a mosque): is it permissible in the religion of Islam to demolish it, build shops on it, and then build the mosque on top of those shops? These shops are rented out, and people of other religions buy and sell in them.
Answer
It is not permissible to build shops, or anything else (other than a place of prostration), on a building that has become a mosque in the Islamic legal sense.
﴿وَأَنَّ الْمَسَاجِدَ لِلَّـهِ﴾
Reference: (Fatawa Sana’iyya, Volume 1, p. 380)