Sunan an-Nasa'i, Hadith 4657 ⓘ
it was narrated from 'Abdullah that: the Messenger of Allah forbade selling loyalty or giving it away.
أَخْبَرَنَا إِسْمَاعِيلُ بْنُ مَسْعُودٍ، قَالَ حَدَّثَنَا خَالِدٌ، قَالَ حَدَّثَنَا عُبَيْدُ اللَّهِ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، عَنْ عَبْدِ اللَّهِ، رضى الله عنه أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنْ بَيْعِ الْوَلاَءِ وَعَنْ هِبَتِهِ .
also referenced under: Book 44, Hadith 209 (In-Book) & Volume 5, Book 44, Hadith 4661 (DarusSalam)