(37) باب تَوْقِيرِهِ صلى الله عليه وسلم وَتَرْكِ إِكْثَارِ سُؤَالِهِ عَمَّا لاَ ضَرُورَةَ إِلَيْهِ أَوْ لاَ يَت
Abu Musa reported that Allah's Apostle (ﷺ) was asked such things which he disapproved and when they persisted on asking him he felt enraged and then said to the people:
Ask me what you wish to ask. Thereupon a person said: Who is my father? He said: Your father is Hudhafa. Then another person stood up and said: Allah's Messenger, who is my father? He said: Your father is Salim, the freed slave of Shaiba. When 'Umar saw the signs of anger upon the face of Allah's Apostle (ﷺ), he said: Allah's Messenger, we ask repentance from Allah. And in the hadith transmitted on the authority of Abu Kuraib (the words are):" Allah's Messenger, who is my father? He said: Your father is Salim, the freed slave of Shaiba."
Reference: Sahih Muslim 2360
In-book reference: Book 43, Hadith 183
USC-MSA web (English) reference(deprecated numbering scheme): Book 30, Hadith 5829