Sunan Abi Dawud, Book 24, Hadith 18 (Abu Dawud 3434)

Narrated Ibn 'Umar:

The Prophet (ﷺ) as saying: If anyone buys a slave who possesses property. his property belongs to the seller unless buyer makes a provision and if anyone buys palm-trees after they have been fecundated, the fruit belongs to the seller unless the buyer make a provision.