Al-Qasim narrates from Sayyidah Aishah (may Allah be pleased with her) that a man gave his wife three divorces; then another man married that woman and divorced her before having intercourse with her. The Prophet (peace and blessings be upon him) was asked: Is this woman lawful for the first husband? He (peace and blessings be upon him) said: "No, not until the second husband tastes her sweetness as the first one tasted it."
Note: Imam al-Shafi'i (may Allah have mercy on him) says that Rukanah (may Allah be pleased with him) gave his wife a battah (irrevocable) divorce, which could mean one or three divorces, so the Prophet (peace and blessings be upon him) asked him about his intention and made him swear to it; and we do not know that he (peace and blessings be upon him) forbade three divorces. And Sayyiduna Abd al-Rahman bin Awf (may Allah be pleased with him) gave his wife three divorces.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الخلع والطلاق / 14937