Abu Musa Ashari reported,

The Prophet ﷺ was questioned about matters he disliked. When the questions persisted, he became angry, then said to the people, "Ask me whatever you wish."A man asked, "Who is my father?"He replied, "Your father is Hudhafah."Another stood up and asked, "Who is my father, Messenger of Allah?"He answered, "Your father is Salim, the freed slave of Shaybah."When Umar saw the look on his face, he said, "Messenger of Allah, we repent to Allah عز وجل."

Bukhari 92

Sahih

حدثنا محمد بن العلاء قال حدثنا أبو أسامة عن بريد عن أبي بردة

عن أبي موسى قال

سئل النبي ﷺ عن أشياء كرهها فلما أكثر عليه غضب ثم قال للناس سلوني عما شئتم قال رجل من أبي قال أبوك حذافة فقام آخر فقال من أبي يا رسول الله فقال أبوك سالم مولى شيبة فلما رأى عمر ما في وجهه قال يا رسول الله إنا نتوب إلى الله عز وجل

البخاري 92صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Knowledge
Chapter
Anger during admonition and teaching when seeing something disliked
Numbering
Darussalam 92
Bukhari 92