Sahih al-Bukhari 3115
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَحْسَنَتِ الأَنْصَارُ، سَمُّوا بِاسْمِي، وَلاَ تَكَنَّوْا بِكُنْيَتِي، فَإِنَّمَا أَنَا قَاسِمٌ "
Narrated Jabir bin `Abdullah Al-Ansari:
A man amongst us begot a boy whom he named Al-Qasim. On that the Ansar said, (to the man), "We will never call you Abu -al-Qasim and will never please you with this blessed title." So, he went to the Prophet and said, "O Allah's Messenger (ﷺ)! I have begotten a boy whom I named Al-Qasim and the Ansar said, 'We will never call you Abu -al-Qasim, nor will we please you with this title.' " The Prophet (ﷺ) said, "The Ansar have done well. Name by my name, but do not name by my Kunya, for I am Qasim."
Full reference and source
Sahih al-Bukhari 3115 In-book : Book 57, Hadith 24 USC-MSA web (English) : Vol. 4, Book 53, Hadith 345 (deprecated)
View source on Sunnah.com (opens in a new tab)