It was narrated from 'Amr bin Shu'aib, from his father, from his grandfather that :
the Prophet (ﷺ) forbade the deal involving earnest money .
English reference: Vol. 3, Book 12, Hadith 2192
Arabic reference: Book 12, Hadith 2276