"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." (Using translation from Nasāʾī 4682)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِذَا أَنْكَحَ الْوَلِيَّانِ فَهُو لِلْأَوَّلِ مِنْهُمَا وَإِذَا بَاعَ بَيْعًا مِنْ رَجُلَيْنِ فَهُوَ لِلْأَوَّلِ مِنْهُمَا