'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.