(45) باب مُرَاجَعَةِ الْحَائِضِ
Narrated Yunus Ibn Jubair:
Ibn `Umar divorced his wife while she was having her menses. `Umar asked the Prophet (ﷺ) who said, "Order him (your son) to take her back, and then divorced her before her period of the 'Iddah has elapsed." I asked Ibn `Umar, "Will that divorce (during the menses) be counted?" He replied, "If somebody behaves foolishly (will his foolishness be an excuse for his misbehavior)?"
Reference: Sahih al-Bukhari 5333
In-book reference: Book 68, Hadith 78
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 7, Book 63, Hadith 250