Sahih al-Bukhari 4336
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
رَحِمَ اللَّهُ مُوسَى. قَدْ أُوذِيَ بِأَكْثَرَ مِنْ هَذَا فَصَبَرَ "
Narrated `Abdullah:
When it was the day of Hunain, Prophet favored some people over some others (in the distribution of the booty). He gave Al-Aqra' one-hundred camels and gave Uyaina the same, and also gave other people (of Quraish). A man said, "Allah's Pleasure was not the aim, in this distribution." I said, "I will inform the Prophet (about your statement)." The Prophet (ﷺ) said, "May Allah bestow Mercy on Moses, for he was troubled more this but he remained patient."
Full reference and source
Sahih al-Bukhari 4336 In-book : Book 64, Hadith 365 USC-MSA web (English) : Vol. 5, Book 59, Hadith 625 (deprecated)
View source on Sunnah.com (opens in a new tab)