Sunan Ibn Majah, Book 12, Hadith 76 (Ibn Majah 2212)

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.