Command him to take her back until she is pure and then she enters the second menses and…

Sahih Muslim Book 18 Hadith 9

Sahih Muslim #1471 i

The Book of Divorce 18:9

Ibn 'Umar (Allah be pleased with them) reported that he divorced his wife while she was in her menses. 'Umar (Allah be pleased with him) asked Allah's Apostle (ﷺ) about that, and he said:

Command him to take her back until she is pure and then she enters the second menses and then becomes pure. Then either divorce her (finally) or retain her.

Chapter: The prohibition of divorcing a menstruating woman without her consent; If a man breaks this rule, it still counts as a divorce, and he should be ordered to take her back

Grade: Sahih