Sunan Ibn Majah, Book 23, Hadith 2853 (In-Book) ⓘ
It was narrated that Ibn ‘Umar said: The Messenger of Allah forbade selling the right of inheritance, or giving it as a gift.
حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الْمَلِكِ بْنِ أَبِي الشَّوَارِبِ، حَدَّثَنَا يَحْيَى بْنُ سُلَيْمٍ الطَّائِفِيُّ، عَنْ عُبَيْدِ اللَّهِ بْنِ عُمَرَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم عَنْ بَيْعِ الْوَلاَءِ وَعَنْ هِبَتِهِ .
also referenced under: Hadith 2748 (Reference) & Volume 4, Book 23, Hadith 2748 (DarusSalam)