Bulugh al-Maram 786
وَعَنِ ابْنِ مَسْعُودٍ - رضي الله عنه - قَالَ: سَمِعْتُ رَسُولَ اللَّهِ - صلى الله عليه وسلم - يَقُولُ: «إِذَا اخْتَلَفَ الْمُتَبَايِعَانِ لَيْسَ بَيْنَهُمَا بَيِّنَةٌ, فَالْقَوْلُ مَا يَقُولُ رَبُّ السِّلْعَةِ أَوْ يَتَتَارَكَانِ». رَوَاهُ الْخَمْسَةُ, وَصَحَّحَهُ الْحَاكِمُ.
From Ibn Masʿud, may Allah be pleased with him, who said: I heard the Messenger of Allah ﷺ say: "When the two parties to a sale disagree and there is no evidence between them, then the word is what the owner of the goods says, or they both cancel [the sale]." Reported by the five; al-Hakim graded it sahih.