Al-Hakam (may Allah have mercy on him) said: When a slave is freed, whatever wealth he has belongs to the master.