Narrated Abdullah bin Omar: That during the lifetime of Allah’s Messenger, peace be upon him, he had divorced his wife while she was menstruating Omar bin Al-Khattab asked Allah’s Messenger, peace be upon him, about that.
Allah’s Messenger, peace be upon him, said, “Order him (your son) to take her back and keep her till she is clean from her menses and then to wait till she gets her next period and becomes clean again. Thereupon, if he wishes to keep her, he can do so, and if he wishes to divorce her before having sexual intercourse with her. That is the prescribed period which Allah has fixed for the women meant to be divorced.”
[7: 178- O.B. Sahih Al-Bukhari)