Sahih al-Bukhari, Book 96, Hadith 26 (Bukhari 7018)

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)