Translation
(61) Virtues and Merits of the Prophet (pbuh) and his Companions
كتاب المناقب
(17) Chapter: The names of Allah's Messenger (saws)
(17) بَابُ مَا جَاءَ فِي أَسْمَاءِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ
Sahih al-Bukhari 3533 

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "Doesn't it astonish you how Allah protects me from the Quraish's abusing and cursing? They abuse Mudhammam and curse Mudhammam while I am Muhammad (and not Mudhammam).

حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ أَلاَ تَعْجَبُونَ كَيْفَ يَصْرِفُ اللَّهُ عَنِّي شَتْمَ قُرَيْشٍ وَلَعْنَهُمْ يَشْتِمُونَ مُذَمَّمًا وَيَلْعَنُونَ مُذَمَّمًا وَأَنَا مُحَمَّدٌ ‏"‏‏.‏
Reference : Sahih al-Bukhari 3533
In-book reference : Book 61, Hadith 42
USC-MSA web (English) reference : Vol. 4, Book 56, Hadith 733
  (deprecated numbering scheme)