Sunan Abi Dawud

Hadith #3435

Narrated Jabir ibn Abdullah: The Prophet (ﷺ) said: If anyone buys a slave who possesses property, his property belongs to the seller unless the buyer makes a proviso