It was narrated from Nafi' from Ibn 'Umar that the Prophet (ﷺ) said:
"Whoever sells a palm tree and sells a slave." Mentioning both of them together.[1] (AR)
English reference (AR): Vol. 3, Book 12, Hadith 2212 (AR)
Arabic reference (AR): Book 12, Hadith 2297 (AR)