There are stringent restrictions on the uses of the area formally demarcated as the mosque (which is often a small portion of the larger complex), and, in the Islamic Sharia law, after an area is formally designated as a mosque, it remains so until the Last Day.