"I divorced my wife while she was menstruating."Umar then went to the Prophet ﷺ and mentioned this to him, and he said, "Let him take her back. Then when she becomes pure, if he wishes, let him divorce her."I said to Ibn Umar, "Is that divorce counted?"He replied, "What would prevent it from being counted? Yes. Tell me, what if he was incapable and acted foolishly?"
حدثنا محمد بن جعفر حدثنا شعبة عن قتادة سمعت يونس بن جبير سمعت
طلقت امرأتي وهي حائض قال فأتى عمر النبي ﷺ فذكر ذلك له فقال ليراجعها فإذا طهرت فإن شاء فليطلقها قال فقلت لابن عمر أفتحتسب بها قال ما يمنعه نعم أرأيت إن عجز واستحمق