Yunus bin Jubair said “I asked Abdullah bin Umar “A man divorced his wife while she was menstruating? He said do you know Abdullah bin Umar? He said, yes. Abdullah bin Umar divorced his wife while she was menstruating. So, Umar came to the Prophet صلی اللہ علیہ وسلم and asked him (about this matter). He said Command him to take her back in marriage he may the divorce her in the beginning of the waiting period. I (Ibn Jubair) asked him “Will this divorce be counted? He said “Why not?” If he was helpless and showed his foolishness (that would have been counted).