It wasnarrated that Ibn 'Umar said:
The Messenger of Allah (ﷺ)forbadeselling the right of inheritance, or giving it as a gift. (DE)
English reference (DE): Vol. 4, Book 23, Hadith 2748 (DE)
Arabic reference (DE): Book 23, Hadith 2853 (DE)