Imam al-Shafi'i (may Allah have mercy on him) said: "She is the wife of the first (husband), (because) the Messenger of Allah (peace and blessings be upon him) said: 'When two guardians (separately) give (a woman) in marriage, the first (marriage) has the greater right.'"
This hadith has already passed with its chains.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الرجعة / Q15187