Al-Hasan (may Allah have mercy on him) says that Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) divorced his wife while she was menstruating and also intended to give the remaining two divorces. The Prophet (peace and blessings be upon him) came to know of it, and he (peace and blessings be upon him) said: "O Ibn Umar! Is this how Allah, the Lord of Might, has commanded? You have gone against the Sunnah, and the Sunnah way is that you divorce in each period of purity." Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) says: He (peace and blessings be upon him) ordered me to take her back, then said to me: "When she becomes pure, then divorce her at that time or keep her." I said: O Messenger of Allah (peace and blessings be upon him)! What is your view if I give her three divorces: would it be lawful for me to take her back? He (peace and blessings be upon him) said: "No, she would be separated from you, and you would have committed disobedience."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الخلع والطلاق / 14955