Abu Musa Ashari reported,

The Messenger of Allah ﷺ was asked about matters he disliked, and when they pressed him with too many questions, he became angry and said, "Ask me."A man stood up and said, "Messenger of Allah, who is my father?"He replied, "Your father is Hudhafah."Then another man stood and said, "Messenger of Allah, who is my father?"He replied, "Your father is Salim, the freed slave of Shaybah."When Umar saw the anger on the face of the Messenger of Allah ﷺ, he said, "We turn to Allah عز وجل in repentance."

Azami 1285

Sahih

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

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

الأعظمي 1285صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Knowledge
Chapter
Warnings in matters of knowledge
Section
Prohibition of excessive questioning about what has not occurred and about which no revelation has been sent down
Numbering
Jami al-Kamil 1285 (2nd edition)
Azami 1285