(1) باب النَّهْىِ عَنِ التَّكَنِّي، بِأَبِي الْقَاسِمِ وَبَيَانِ مَا يُسْتَحَبُّ مِنَ الأَسْمَاءِ .
Jabir b. 'Abdullah reported that a child was born to a person amongst us and he gave him the name of Muhammad. Thereupon his people said:
We will not allow You to give the name of Muhammad (to your child) after the name of Allah's Messenger (ﷺ). He set forth with his son carrying him on his back and came to Allah's Apostle (ﷺ), and said: Allah's Messenger a son has been born to me and I have given him the name after the name of Allah's Messenger (ﷺ), whereupon Allah's Messenger (ﷺ) said: Give him my name but do not give him my kunya, for I am Qasim in the sense that I distribute (the spoils of war) and the dues of Zakat amongst you.
Reference: Sahih Muslim 2133 a
In-book reference: Book 38, Hadith 3
USC-MSA web (English) reference(deprecated numbering scheme): Book 25, Hadith 5316