It was narrated that 'Ubadah bin Samit said:
"The Messenger of Allah (ﷺ) ruled that the fruit of a palm tree belongs to the one who pollinated it, and that the wealth of a slave belongs to the one who sold him, unless the purchaser stipulated a condition." (ES)
English reference (ES): Vol. 3, Book 12, Hadith 2213 (ES)
Arabic reference (ES): Book 12, Hadith 2298 (ES)