Sunan an-Nasa'i, Book 44, Hadith 234 (Nasa'i 4692)
It was narrated from Sammurah that the Messenger of Allah said:
"If a woman is married off by two guardians, then the first marriage is the one that counts, and if a man sells something to two men, it belongs to the first one."