Sa'id bin al-Musayyib said: A person in a state of major impurity (junub) may pass through the mosque, but he may not sit in it.