Sunan an-Nasa'i, Book 27, Hadith 4 (In-Book)

'Abdullah bin Ayman asked Ibn 'Umar while Abu Az-Zubair was listening: "What did you think about a man who divorces his wife when she is menstruating?" He said to him: "Abdullah bin 'Umar divorced his wife when she was menstruating during the time of the Messenger of Allah. 'Umar asked the Messenger of Allah (about that) and said: 'Abdullah bin 'Umar has divorced his wife while she was menstruating.' The Messenger of Allah said: 'Let him take her back.' So he made me take her back. He said: 'When she becomes pure, let him divorce her or keep her.' Ibn 'Umar said: 'The Prophet said: 'O Prophet! When you divorce women, divorce them before their 'Iddah (prescribed period) elapses.'"

أَخْبَرَنِي مُحَمَّدُ بْنُ إِسْمَاعِيلَ بْنِ إِبْرَاهِيمَ، وَعَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ تَمِيمٍ، عَنْ حَجَّاجٍ، قَالَ قَالَ ابْنُ جُرَيْجٍ أَخْبَرَنِي أَبُو الزُّبَيْرِ، أَنَّهُ سَمِعَ عَبْدَ الرَّحْمَنِ بْنَ أَيْمَنَ، يَسْأَلُ ابْنَ عُمَرَ وَأَبُو الزُّبَيْرِ يَسْمَعُ كَيْفَ تَرَى فِي رَجُلٍ طَلَّقَ امْرَأَتَهُ حَائِضًا فَقَالَ لَهُ طَلَّقَ عَبْدُ اللَّهِ بْنُ عُمَرَ امْرَأَتَهُ وَهِيَ حَائِضٌ عَلَى عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَسَأَلَ عُمَرُ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ إِنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ طَلَّقَ امْرَأَتَهُ وَ هِيَ حَائِضٌ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ لِيُرَاجِعْهَا ‏"‏ ‏.‏ فَرَدَّهَا عَلَىَّ قَالَ ‏"‏ إِذَا طَهُرَتْ فَلْيُطَلِّقْ أَوْ لِيُمْسِكْ ‏"‏ ‏.‏ قَالَ ابْنُ عُمَرَ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏{‏ يَا أَيُّهَا النَّبِيُّ إِذَا طَلَّقْتُمُ النِّسَاءَ فَطَلِّقُوهُنَّ ‏}‏ فِي قُبُلِ عِدَّتِهِنَّ ‏.‏

sunnah.com