Sunan Ibn Majah
2191
Daif+2

It was narrated from Samurah that the Messenger of Allah (ﷺ), said:"If two (separate) authorized persons make a sale (of the same thing), then the first transaction is the one that is valid

DaifAl-Albani
DaifMuhammad Fouad Abd al-Baqi