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." (TH)
English reference (TH): Vol. 3, Book 12, Hadith 2213 (TH)
Arabic reference (TH): Book 12, Hadith 2298 (TH)