Sunan Ibn Majah
2344
Daif+3

It was narrated from ('Uqbah bin 'Amir or) Samurah bin Jundub that :the Messenger of Allah (ﷺ) said: “If a product is sold to two men, it is for the one who was first.”

DaifAl-Albani
DaifMuhammad Fouad Abd al-Baqi