at very small mosques, worshippers may use restrooms for their ritual washing, or wu'du. in traditional mosques, there is often a building specially for washing. this is often in the center of the courtyard. in the prayer halls, people must not wear shoes for much the same reason.