(3) باب مَا يُكْرَهُ مِنْ كَثْرَةِ السُّؤَالِ وَتَكَلُّفِ مَا لاَ يَعْنِيهِ
Narrated Abu Musa Al-Ash`ari:
Allah's Messenger (ﷺ) was asked about things which he disliked, and when the people asked too many questions, he became angry and said, "Ask me (any question)." A man got up and said, "O Allah's Apostle! Who is my father?" The Prophet (ﷺ) replied, "Your father is Hudhaifa." Then another man got up and said, "O Allah's Messenger (ﷺ)! Who is my father?" The Prophet (ﷺ) said, "Your father is Salim, Maula Shaiba." When `Umar saw the signs of anger on the face of Allah's Messenger (ﷺ), he said, "We repent to Allah."
Reference: Sahih al-Bukhari 7291
In-book reference: Book 96, Hadith 22
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 9, Book 92, Hadith 394