Hasan al-Basri (may Allah have mercy on him) said: "When the first husband returns, the woman should observe the waiting period (‘iddah) from the second husband, then return to the first husband."
Hadith Referenceسنن سعید بن منصور / كتاب النكاح / 1885