Building stores underneath Masjids

Q: There are one-floor Masjids (mosques) built on vast areas in Filflal city, Milbisba district. However, there is no revenue from these areas to support the Masjids. Some benevolent people rebuilt these Masjids in two floors. The first storey is for worship and the ground floor contains stores rented to Muslims and the revenue from these are used to meet the needs of the Masjids. What is the ruling on this act?

A: It is permissible to build stores on the floor beneath the Masjid so that the rent revenue may be used to meet the Masjid's needs.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.