Is it permissible to take the money of Waqf (endowment) and spend it on the needy? It should be taken into consideration that this Waqf is assigned for building the Masjid.
If the Waqf is assigned for a specific purpose such as, a Masjid, it is not permissible (Part No. 16; Page No. 42) to direct it to anything else. This may only be if the benefits gained from this Masjid come to an end, like if people desert it because no inhabitants live in that area. In such a case, the competent official authority should transfer it to another Masjid. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.