Sahih al-Bukhari 6150
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
فَكَيْفَ بِنَسَبِي "
Narrated `Aisha:
Hassan bin Thabit asked the permission of Allah's Messenger (ﷺ) to lampoon the pagans (in verse). Allah's Apostle said, "What about my fore-fathers (ancestry)?' Hassan said (to the Prophet) "I will take you out of them as a hair is taken out of dough." Narrated Hisham bin `Urwa that his father said, "I called Hassan with bad names in front of `Aisha." She said, "Don't call him with bad names because he used to defend Allah's Messenger (ﷺ) (against the pagans).
Full reference and source
Sahih al-Bukhari 6150 In-book : Book 78, Hadith 176 USC-MSA web (English) : Vol. 8, Book 73, Hadith 171 (deprecated)
View source on Sunnah.com (opens in a new tab)