It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them) that the Messenger of Allah (peace and blessings be upon him) forbade the selling and gifting of wala (the right of inheritance due to manumission).
Hadith Referenceسنن دارمي / من كتاب الفرائض / 3189