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] (TH)
English reference (TH): Vol. 3, Book 12, Hadith 2212 (TH)
Arabic reference (TH): Book 12, Hadith 2297 (TH)