Al-Hasan said: If a person in a state of major ritual impurity (junub) or a menstruating woman hears a verse of prostration, they do not prostrate.