It is narrated from Ata bin Yasar that a man came to Abdullah bin Amr (may Allah be pleased with him) to ask about the case of a man who had given his wife three divorces before consummation of marriage. Ata says, I said, "Indeed, in the case of a virgin, one (divorce) will be effective." So Abdullah bin Amr (may Allah be pleased with him) said: "One divorce will make her irrevocably separated, and three will make her unlawful for him until she marries another husband." Imam Shafi'i (may Allah have mercy on him) said that Abdullah (may Allah be pleased with him), when he was told that he had given three divorces, did not say, "You have done very badly" (i.e., he did not express anger at this action).
Hadith Referenceمسند الإمام الشافعي / كتاب الطلاق / 1251