بسم الله الرحمن الرحيم
(Fatwa: 111/98/L=2/1439)
In the question mentioned above when the masjid committee is installing water pump for the mosque then it shall not be lawful for you to take water from the water pump of the mosque permanently for your madrasa.
مراعاة غرض الواقفين واجبة .
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband
