Abdullah bin Masud reported,

The Prophet ﷺ distributed something, and a man remarked, "This is a distribution by which the face of Allah was not intended."So I went to the Prophet ﷺ and informed him. He became angry, until I saw the anger in his face, then he said, "May Allah have mercy on Musa. He was harmed with more than this, yet he remained patient."

Bukhari 3405

Sahih

حدثنا أبو الوليد حدثنا شعبة عن الأعمش قال سمعت أبا وائل قال سمعت

عبد الله رضي الله عنه قال

قسم النبي ﷺ قسما فقال رجل إن هذه لقسمة ما أريد بها وجه الله فأتيت النبي ﷺ فأخبرته فغضب حتى رأيت الغضب في وجهه ثم قال يرحم الله موسى قد أوذي بأكثر من هذا فصبر

البخاري 3405صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Hadiths of the prophets
Chapter
Hadith of Khidr with Musa, peace be upon them
Numbering
Darussalam 3405
Bukhari 3405