The Prophet (peace and blessings be upon him) forbade selling wala' (the right of inheritance from a freed slave) and giving it away as a gift.