Al-Hasan said: A person in a state of major impurity (junub) and a menstruating woman may pass through the mosque, but they may not stay in it.