كتاب الزكاة
12  
The Book of Zakat
(46)
Chapter: Giving to those whose hearts have been inclined (towards Islam) and urging those whose faith is strong to show patience
(46)
باب إِعْطَاءِ الْمُؤَلَّفَةِ قُلُوبُهُمْ عَلَى الإِسْلاَمِ وَتَصَبُّرِ مَنْ قَوِيَ إِيمَانُهُ ‏
Sahih Muslim 1062 b

Abdullah reported:

The Messenger of Allah (ﷺ) distributed spoils (of war). Upon this a person said: This is a distribution In which the pleasure of Allah has not been sought. I came to the Messenger of Allah (ﷺ) and informed him in an undertone. He (the Holy Prophet) was deeply angry at this and his face became red till I wished that I had not made a mention of it to him. He (the Holy Prophet) then said: Moses was tormented more than this, but he showed patience.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ، عَنِ الأَعْمَشِ، عَنْ شَقِيقٍ، عَنْ عَبْدِ اللَّهِ، قَالَ قَسَمَ رَسُولُ اللَّهِ صلى الله عليه وسلم قَسْمًا فَقَالَ رَجُلٌ إِنَّهَا لَقِسْمَةٌ مَا أُرِيدَ بِهَا وَجْهُ اللَّهِ - قَالَ - فَأَتَيْتُ النَّبِيَّ صلى الله عليه وسلم فَسَارَرْتُهُ فَغَضِبَ مِنْ ذَلِكَ غَضَبًا شَدِيدًا وَاحْمَرَّ وَجْهُهُ حَتَّى تَمَنَّيْتُ أَنِّي لَمْ أَذْكُرْهُ لَهُ - قَالَ - ثُمَّ قَالَ ‏ "‏ قَدْ أُوذِيَ مُوسَى بِأَكْثَرَ مِنْ هَذَا فَصَبَرَ ‏"‏ ‏.‏
Reference : Sahih Muslim 1062b
In-book reference : Book 12, Hadith 185
USC-MSA web (English) reference : Book 5, Hadith 2315
  (deprecated numbering scheme)