Sahih Bukhari – Hadith No : 4379

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.”

Hadith In Arabic Text :

حدثنا قبيصة، حدثنا سفيان، عن الأعمش، عن أبي وائل، عن عبد الله، قال لما قسم النبي صلى الله عليه وسلم قسمة حنين قال رجل من الأنصار ما أراد بها وجه الله‏.‏ فأتيت النبي صلى الله عليه وسلم فأخبرته، فتغير وجهه ثم قال ‏”‏ رحمة الله على موسى، لقد أوذي بأكثر من هذا فصبر ‏”‏‏.‏

Chapter : Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) – كتاب المغازى