It was narrated from Ibn 'Umar that he divorced his wife when she was menstruating, and the Messenger of Allah told him to take her back. (Using translation from Nasāʾī 3558)
أَنَّهُ طَلَّقَ امْرَأَتَهُ وَهِيَ حَائِضٌ «فَأَمَرَهُ رَسُولُ اللهِ ﷺ فَرَاجَعَهَا»