Question
Is it correct to arrange residences for scholars above mosques?
Answer
If a residential house is built above the shops or the toilets of a mosque, this is permissible according to the Shariah. Building a residence above the main part of the mosque used for worship is not appropriate, but a residence may be built above the shops or toilets that are adjacent to the mosque or located beneath it.
And Allah knows best.