Who Stipulates The Condition Of Khalas Sunan Ibn Majah 2344

Arabic hadith text
حَدَّثَنَا يَحْيَى بْنُ حَكِيمٍ، حَدَّثَنَا أَبُو الْوَلِيدِ، حَدَّثَنَا هَمَّامٌ، عَنْ قَتَادَةَ، عَنِ الْحَسَنِ، عَنْ سَمُرَةَ بْنِ جُنْدُبٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ إِذَا بِيعَ الْبَيْعُ مِنْ رَجُلَيْنِ فَالْبَيْعُ لِلأَوَّلِ ‏"‏ ‏.‏ قَالَ أَبُو الْوَلِيدِ فِي هَذَا الْحَدِيثِ إِبْطَالُ الْخَلاَصِ
Translation
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.”