Language:
كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(56)
Chapter: The Ghazwa of At-Taif
(56)
باب غَزْوَةُ الطَّائِفِ فِي شَوَّالٍ سَنَةَ ثَمَانٍ
Sahih al-Bukhari 4336

Narrated `Abdullah:

When it was the day of Hunain, Prophet favored some people over some others (in the distribution of the booty). He gave Al-Aqra' one-hundred camels and gave Uyaina the same, and also gave other people (of Quraish). A man said, "Allah's Pleasure was not the aim, in this distribution." I said, "I will inform the Prophet (about your statement)." The Prophet (ﷺ) said, "May Allah bestow Mercy on Moses, for he was troubled more this but he remained patient."

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا جَرِيرٌ، عَنْ مَنْصُورٍ، عَنْ أَبِي وَائِلٍ، عَنْ عَبْدِ اللَّهِ ـ رضى الله عنه ـ قَالَ لَمَّا كَانَ يَوْمُ حُنَيْنٍ آثَرَ النَّبِيُّ صلى الله عليه وسلم نَاسًا، أَعْطَى الأَقْرَعَ مِائَةً مِنَ الإِبِلِ، وَأَعْطَى عُيَيْنَةَ مِثْلَ ذَلِكَ، وَأَعْطَى نَاسًا، فَقَالَ رَجُلٌ مَا أُرِيدَ بِهَذِهِ الْقِسْمَةِ وَجْهُ اللَّهِ‏.‏ فَقُلْتُ لأُخْبِرَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ رَحِمَ اللَّهُ مُوسَى‏.‏ قَدْ أُوذِيَ بِأَكْثَرَ مِنْ هَذَا فَصَبَرَ ‏"‏‏.‏
Reference : Sahih al-Bukhari 4336
In-book reference : Book 64, Hadith 365
USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 625
  (deprecated numbering scheme)