It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Do not name (your children) Muhammad and then curse and reproach them." Likewise, in the narration of Imam Abd bin Humayd, the Messenger of Allah (peace and blessings be upon him) said (in astonishment): "You name him Muhammad and then you revile him!!" Imam Abu Dawud al-Tayalisi, Imam Abd bin Humayd and Imam Abu Ya'la al-Mawsili narrated this hadith.
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف الحكم بن عطية
Hadith Takhrij«الحكم بن عطية العيشي البصري: صدوق له أوهام (التقريب ١٤٥٥)، وضعفه أبو الوليد الطيالسي وغيره في روايته عن ثابت (من الحفظ)؛ وقد تفرد به عن ثابت» «أخرجه مجمع الزوائد ومنبع الفوائد برقم: 12838، 12839»