Sahih Muslim 2664: Divorce
It is narrated from Nafi' that Hazrat Ibn Umar (ra) divorced his wife while she was menstruating. At this Hazrat Umar (ra) asked the Prophet (saw), and he (saw) commanded him that he should take her back, then give her time until she menstruates once again, then give her time until she becomes pure, then divorce her before having relations with her. This is the waiting period (Iddat) concerning which Allah, the Exalted, has permitted the divorce of women. The narrator says: When Hazrat Ibn Umar (ra) was asked about a man who divorces his wife while she is menstruating, he would say: Whether you have given one divorce or two, the Messenger of Allah (saw) has certainly commanded concerning it that he should take her back, then give her time until she menstruates a second time, then give her time until she becomes pure, then divorce her before having relations with her. And if you have divorced her three times, you have disobeyed the commandment of your Lord concerning the divorce of your wife, and (now) she has become separated from you.
AI-translated by Islam-Today