كتاب الآداب
38  
The Book of Manners and Etiquette
(1)
Chapter: The Prohibition Of Taking The Kunyah Abul-Qasim, And The Names Which Are Recommended
(1)
باب النَّهْىِ عَنِ التَّكَنِّي، بِأَبِي الْقَاسِمِ وَبَيَانِ مَا يُسْتَحَبُّ مِنَ الأَسْمَاءِ ‏.‏
Sahih Muslim 2133 a

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 2133a
In-book reference : Book 38, Hadith 3
USC-MSA web (English) reference : Book 25, Hadith 5316
  (deprecated numbering scheme)