Sunan an-Nasa'i, Hadith 3398 ⓘ
It was narrated from Ibn 'Umar that he divorced his wife when she was menstruating, but the Messenger of Allah told him to take her back, and divorce her when she was pure (not menstruating).
أَخْبَرَنِي زِيَادُ بْنُ أَيُّوبَ، قَالَ حَدَّثَنَا هُشَيْمٌ، قَالَ أَخْبَرَنَا أَبُو بِشْرٍ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عُمَرَ، أَنَّهُ طَلَّقَ امْرَأَتَهُ وَهِيَ حَائِضٌ فَرَدَّهَا عَلَيْهِ رَسُولُ اللَّهِ صلى الله عليه وسلم حَتَّى طَلَّقَهَا وَهِيَ طَاهِرٌ .
also referenced under: Book 27, Hadith 10 (In-Book) & Volume 4, Book 27, Hadith 3427 (DarusSalam)