Sahih al-Bukhari 5252
Sulaiman bin Harb narrated to us that Shu'bah told us. He narrated from Anas bin Sirin. He said: I heard Hazrat Ibn Umar (ra). He used to say: Hazrat Ibn Umar (ra) had divorced his wife while she was menstruating, so Hazrat Umar (ra) mentioned it to the Prophet (saw). He (saw) said: “He should take her back.” (Anas bin Sirin used to say:) I said: Will it be counted? Hazrat Ibn Umar (ra) said: Be quiet. And it is narrated from Qatadah that he narrated from Yunus bin Jubair, Yunus from Hazrat Ibn Umar (ra). In it, it is like this: He (saw) said: “Tell him to take her back.” (Yunus bin Jubair used to say:) I said: Will it be counted? Hazrat Ibn Umar (ra) said: Just tell me, (would it not count) even then, if he could not fulfil an obligation and acted foolishly?
AI-translated by Islam-Today
Book 2: Divorce during the menses is counted as one legal divorce.