Sahih al-Bukhari 7295
Sahih al-Bukhari · Book 96: Holding Fast to the Qur'an and Sunnah · Asking too many questions and troubling with what does not concern one
Narrated Anas bin Malik:
حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الرَّحِيمِ ، أَخْبَرَنَا رَوْحُ بْنُ عُبَادَةَ ، حَدَّثَنَا شُعْبَةُ ، أَخْبَرَنِي مُوسَى بْنُ أَنَسٍ ، قَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ، قَالَ قَالَ رَجُلٌ يَا نَبِيَّ اللَّهِ مَنْ أَبِي قَالَ " أَبُوكَ فُلاَنٌ ". وَنَزَلَتْ {يَا أَيُّهَا الَّذِينَ آمَنُوا لاَ تَسْأَلُوا عَنْ أَشْيَاءَ} الآيَةَ.
A man said, "O Allah's Prophet! Who is my father?" The Prophet (ﷺ) said, "Your father is so-and-so." And then the Divine Verse:-- 'O you who believe! Ask not questions about things..(5.101)