Jabir bin Abdullah reported,

A boy was born to one of our men, and he named him Qasim. The Ansar said, "We will not call you Abu Qasim, nor will we give you that pleasure."The Prophet ﷺ said, "The Ansar have done well. Name your children after my name, but do not take my kunya, for I am only a distributor."In Muslim's narration, "For I am Abu Qasim. I distribute among you."

Azami 8519

Sahih

عن جابر بن عبد الله قال

ولد لرجل منا غلام فسماه القاسم. فقالت الأنصار: لا نكنك أبا القاسم ولا تنعمك عينا فقال النبي ﷺ: أحسنت الأنصار، سموا باسمي ولا تكنوا بكنيتي، فإنما أنا قاسم. وفي رواية مسلم: فإني أنا أبو القاسم أقسم بينكم.

الأعظمي 8519صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Section
Kunya of the Prophet ﷺ
Numbering
Jami al-Kamil 8519 (2nd edition)
Azami 8519