Sunan Abu Dawud #3962
The Book of Manumission of Slaves 31:37
'Abd Allah b. 'Umar reported the Messenger of Allah (ﷺ) as saying:
If anyone emancipates a slave who has property, the property of the slave belongs to him except that the master makes a stipulation.