Sahih al-Bukhari, Volume 4, Book 53, Hadith 378 (USC-MSA)

Narrated `Abdullah: On the day (of the battle) of Hunain, Allah's Messenger favored some people in the distribution of the booty (to the exclusion of others); he gave Al-Aqra' bin H`Abis one-hundred camels and he gave 'Uyaina the same amount, and also gave to some of the eminent Arabs, giving them preference in this regard. Then a person came and said, "By Allah, in this distribution justice has not been observed, nor has Allah's Pleasure been aimed at." I said (to him), "By Allah, I will inform the Prophet (of what you have said), "I went and informed him, and he said, "If Allah and His Apostle did not act justly, who else would act justly. May Allah be merciful to Moses, for he was harmed with more than this, yet he kept patient."

حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا جَرِيرٌ، عَنْ مَنْصُورٍ، عَنْ أَبِي وَائِلٍ، عَنْ عَبْدِ اللَّهِ ـ رضى الله عنه ـ قَالَ لَمَّا كَانَ يَوْمُ حُنَيْنٍ آثَرَ النَّبِيُّ صلى الله عليه وسلم أُنَاسًا فِي الْقِسْمَةِ، فَأَعْطَى الأَقْرَعَ بْنَ حَابِسٍ مِائَةً مِنَ الإِبِلِ، وَأَعْطَى عُيَيْنَةَ مِثْلَ ذَلِكَ، وَأَعْطَى أُنَاسًا مِنْ أَشْرَافِ الْعَرَبِ، فَآثَرَهُمْ يَوْمَئِذٍ فِي الْقِسْمَةِ‏.‏ قَالَ رَجُلٌ وَاللَّهِ إِنَّ هَذِهِ الْقِسْمَةَ مَا عُدِلَ فِيهَا، وَمَا أُرِيدَ بِهَا وَجْهُ اللَّهِ‏.‏ فَقُلْتُ وَاللَّهِ لأُخْبِرَنَّ النَّبِيَّ صلى الله عليه وسلم‏.‏ فَأَتَيْتُهُ فَأَخْبَرْتُهُ فَقَالَ ‏ "‏ فَمَنْ يَعْدِلُ إِذَا لَمْ يَعْدِلِ اللَّهُ وَرَسُولُهُ رَحِمَ اللَّهُ مُوسَى قَدْ أُوذِيَ بِأَكْثَرَ مِنْ هَذَا فَصَبَرَ ‏" ‏‏.‏

sunnah.com