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.
Sunan an-Nasa'i Book 27, Hadith 172