Sahih Muslim Book 9, Hadith Number 3596.

Chapter: It is forbidden to sell Al-Wala’ (the right of inheritance of a slave) and its conferring on others.

Ibn Umar (Allah be pleased with them) reported that Allah’s Messenger (may peace he upon him) forbade the selling and making a gift of the right of inheritance of a slave. Imam Muslim said: All the persons depend upon Abdullah b. Dinar in regard to this hadith.