Hasan al-Basri (may Allah have mercy on him) said: If a man says, "My wife is divorced," and it is not known which one, then the decision will be based on his intention. If there is no intention, then he must leave all his wives.
Hadith Referenceسنن سعید بن منصور / كتاب الطلاق / 2347