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