It was narrated from 'Uqbah bin 'Amir or Samurah bin Jundab that the Messenger of Allah (ﷺ) said:
"Any man who sells to two men, it is for the one who was first."[1]
English reference: Vol. 3, Book 12, Hadith 2190
Arabic reference: Book 12, Hadith 2274
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.