Habib bin Abi Thabit narrates from some of his companions that a man came to Sayyiduna Ali (may Allah be pleased with him) and said: I have given my wife a thousand divorces. He said: Three divorces have made your wife unlawful for you, and distribute all the remaining divorces among your (other) wives.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الخلع والطلاق / 14961