Sahih al-Bukhari 3405
Narrated `Abdullah:
Once the Prophet (ﷺ) distributed something (among his followers. A man said, "This distribution has not 
been done (with justice) seeking Allah's Countenance." I went to the Prophet (ﷺ) and told him (of that). 
He became so angry that I saw the signs of anger oh his face. Then he said, "May Allah bestow His 
Mercy on Moses, for he was harmed more (in a worse manner) than this; yet he endured patiently."
حَدَّثَنَا أَبُو الْوَلِيدِ، حَدَّثَنَا شُعْبَةُ، عَنِ الأَعْمَشِ، قَالَ سَمِعْتُ أَبَا وَائِلٍ، قَالَ سَمِعْتُ عَبْدَ اللَّهِ ـ رضى الله عنه ـ قَالَ قَسَمَ النَّبِيُّ صلى الله عليه وسلم قَسْمًا، فَقَالَ رَجُلٌ إِنَّ هَذِهِ لَقِسْمَةٌ مَا أُرِيدَ بِهَا وَجْهُ اللَّهِ‏.‏ فَأَتَيْتُ النَّبِيَّ صلى الله عليه وسلم فَأَخْبَرْتُهُ، فَغَضِبَ حَتَّى رَأَيْتُ الْغَضَبَ فِي وَجْهِهِ، ثُمَّ قَالَ ‏
"‏ يَرْحَمُ اللَّهُ مُوسَى قَدْ أُوذِيَ بِأَكْثَرَ مِنْ هَذَا فَصَبَرَ ‏"‏‏.‏