Abdullah bin Umar reported,

He divorced his wife while she was menstruating. Umar mentioned this to the Messenger of Allah ﷺ, and the Messenger of Allah ﷺ became angry about it, then said, "Let him take her back and keep her until she becomes pure, then menstruates again and becomes pure once more. If he then decides to divorce her, let him do so while she is in a state of purity and before he has touched her. That is the waiting period as Allah has commanded."

Azami 13575

Sahih

عن عبد الله بن عمر

أنه طلق امرأته وهي حائض، فذكرعمر الرسول الله ﷺ، فتغيظ فيه رسول الله ﷺ، ثم قال: ليراجعها، ثم يمسكها حتى تطهر، ثم تحيض فتطهر، فإن بدا له أن يطلقها فليطلقهاطاهرا قبل أن يمسها، فتلك العدة كما أمر الله.

الأعظمي 13575صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Taghabun
Section
His saying, "O Prophet, when you divorce women, divorce them for their waiting period and keep count of the waiting period, and fear Allah your Lord. Do not turn them out of their houses, nor should they leave except if they commit a clear immorality. And those are the limits of Allah. And whoever transgresses the limits of Allah has certainly wronged himself. You know not, perhaps Allah will bring about after that a matter"
Numbering
Jami al-Kamil 13575 (2nd edition)