Sahih al-Bukhari, Hadith 4335

Narrated `Abdullah: When the Prophet distribute the war booty of Hunain, a man from the Ansar said, "He (i.e. the Prophet), did not intend to please Allah in this distribution." So I came to the Prophet and informed him of that (statement) whereupon the color of his face changed and he said, "May Allah bestow His Mercy on Moses, for he was troubled with more than this, but he remained patient."

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

sunnah.com