Al-Zuhri (may Allah have mercy on him) said: If someone frees a slave who has wealth, that wealth goes to the slave.