Sahih al-Bukhari 5258
Hajjaj bin Minhal narrated to us that Hammam bin Yahya told us. He narrated from Qatadah, Qatadah from Abu Ghallab Yunus bin Jubair. He used to say: I said to Hazrat Ibn Umar (ra): (What if) a man has divorced his wife at a time when she is menstruating? He said: Do you know Ibn Umar (ra)? Ibn Umar (ra) too had divorced his wife at a time when she was menstruating. At this Hazrat Umar (ra) came to the Prophet (saw) and mentioned this to him (saw), and he (saw) commanded him that he should take her back. When she becomes pure from her menses and he wishes to divorce her, then he may divorce her. (Yunus used to say:) I asked Hazrat Ibn Umar (ra): Did he (saw) count it as a divorce? He said: Just tell me, (would it not count) even then, if he was helpless and acted foolishly?
AI-translated by Islam-Today
Book 3: Should a man tell his wife face to face that she is divorced