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