(19) بَابُ مَا كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُعْطِي الْمُؤَلَّفَةَ قُلُوبُهُمْ وَغَيْرَهُمْ مِنَ الْخُمُسِ وَنَحْوِهِ
Narrated `Amr bin Taghlib:
Allah's Messenger (ﷺ) gave (gifts) to some people to the exclusion of some others. The latter seemed to be displeased by that. The Prophet (ﷺ) said, "I give to some people, lest they should deviate from True Faith or lose patience, while I refer other people to the goodness and contentment which Allah has put in their hearts, and `Amr bin Taghlib is amongst them." `Amr bin Taghlib said, "The statement of Allah's Apostle is dearer to me than red camels." Narrated Al-Hasan: `Amr bin Taghlib told us that Allah's Messenger (ﷺ) got some property or some war prisoners and he distributed them in the above way (i.e. giving to some people to the exclusion of others) .
Reference: Sahih al-Bukhari 3145
In-book reference: Book 57, Hadith 53
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 53, Hadith 373