Menstruating, whether a man or a woman

And whoever saw that he was menstruating, whether he was a man or a woman, and he did ghusl after menstruation and put on his clothes, then this indicates the success of his religion and worldly life .