It was narrated from Dawud bin Salih Al Madani that his father said:
I heard Abu Sa'eed Al-Khudri say: "The Messenger of Allah (ﷺ) said: 'Transactions may only be done by mutual consent."' (ES)
English reference (ES): Vol. 3, Book 12, Hadith 2185 (ES)
Arabic reference (ES): Book 12, Hadith 2269 (ES)