Sahih Bukhari | Volume 8 | Hadith Number 348

Narrated by 'Abdullah
The Prophet divided something (among the Muslims) and distributed the shares (of the booty). A man said, "This division has not been made to please Allah." When I informed the Prophet about it, he became so furious that I noticed the signs of anger on his face and he then said, "May Allah bestow His Mercy on Moses, for he was hurt with more than this, yet he remained patient."