From Sahih Muslim (Hadith 3788):
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
Reference: Muslim 3788