Ref. No. 1584/43-1118
In the name of Allah the most Gracious the most merciful
The answer to your question is as follows:
It is always better to save the water which is going to waste. Therefore, you can store the masjid’s extra water (going to waste) for your domestic use. There is nothing wrong in it.
(وإن كانت) اللقطة (حقيرة) بحيث يعلم أن صاحبها لا يطلبها (كالنوى وقشور الرمان) والبطيخ في مواضع متفرقة (والسنبل بعد الحصاد ينتفع بها بدون تعريف) لأن إلقاءها إباحة للأخذ دلالة (وللمالك أخذها) لأن التمليك من المجهول لا يصح. (مجمع الانھر، الانتفاع باللقطۃ 1/708)
And Allah knows best
Darul Ifta
Darul Uloom Waqf Deoband