Anas bin Malik reported,

The Messenger of Allah ﷺ was at al-Baqi when a man called out to another, "Abu Qasim!" The Messenger of Allah ﷺ turned toward him, but the man said, "I did not mean you."The Messenger of Allah ﷺ then said, "Name yourselves by my name, but do not take my kunya as your own."

Ibn Majah 3737

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا عبد الوهاب الثقفي عن حميد

عن أنس قال

كان رسول الله ﷺ بالبقيع فنادى رجل رجلا يا أبا القاسم فالتفت إليه رسول الله ﷺ فقال إني لم أعنك فقال رسول الله ﷺ تسموا باسمي ولا تكنوا بكنيتي

ابن ماجه 3737صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Manners
Chapter
Combining the name of the Prophet ﷺ and his kunya
Numbering
Darussalam 3737
Ibn Majah 3737