It was narrated that Ibn 'Umar said:
"The Messenger of Allah forbade selling loyalty or giving it away." (Sahih)]