The Prophet (peace and blessings be upon him) said: "Wala' (the right to inherit from a freed slave) belongs only to the one who sets the slave free."