Building bathrooms around the Masjid

Fatwa no. 12281 All praise be to Allah Alone, and peace and blessings be upon the Messenger of Allah, his family and Companions.I have read (Part No. 6; Page No. 249) the request for Fatwa submitted by the general director of Awqaf and Mosques of Al-Jawf Province to His Eminence the General President. It is request no. 1576, dated 3/9/1409 AH. It reads: According to the conditions, specifications, outlines, and the licenses of building, Mr. Hammud ibn `Aqla Al-Fallah is building a Masjid (mosque) in the east of Al-Shalhub neighborhood in Sakaka city, Al-Jawf. May Allah reward him! However, when he wanted to make the sewage tank, the municipality requested that he make it inside the Masjid's courtyard. We know that it is impermissible to the tank under the Masjid, so the donor told us that he is ready to build it in a road that he owns, but the municipality objected and requested to place it inside the Masjid's courtyard. Therefore, we ask you about the ruling on putting the tank inside the limits of the Masjid's land? Kindly, be informed that sometimes the tank may suddenly burst affecting the courtyard, in addition to the impurities that are liable to affect these places and the emission of bad odor that may harm worshippers. This harm may last for a long time until the filthy water is drained. Even after draining the water, the courtyard through which the people walk inside of the Masjid is still impure due to the wastes. (Part No. 6; Page No. 250)

The Committee gave the following answer: If the case is as you have mentioned, it is impermissible to put the tank inside the Masjid, for in the long run the waste may leak from the tank and taint the Masjid.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.