I can’t remember it clearly so my wording may be inaccurate. I recall it being attributed to the musannaf Ibn Abi shaybah, but I could be wrong about that as well.
sorry, I know this isn’t much to go on...
is there such a Hadith?
Islam Stack Exchange is a question and answer site for Muslims, experts in Islam, and those interested in learning more about Islam. It only takes a minute to sign up.
Sign up to join this communityYes there exists a hadith with this wording. It is narrated by Ali ibn Abi Talib from the Prophet ﷺ; and is recorded in Al-Shifaa bi Tareef Huqooq al-Mustafaa and Mu'jam al-Sagheer Tabaraani etc.
مَنْ سَبَّ نَبِيًّا فَاقْتُلُوهُ
The scholars have noted that the chain for this hadith has some weakness, however the content is accepted to be correct. The same meaning is conveyed by several other ahadith such as on the execution of Ka'b bin Al-Ashraf or Abu Rafi' or Ibn Khatal or the slave woman of the blind sahabi etc. And it is corroborated by the verdicts of the caliphs and the sayings of the sahaba.
وأجمعوا على أن من سب النبي صلى الله عليه وسلم أن له القتل
They are unanimous that whoever insults the Prophet ﷺ is to be killed
من سب نبيا من الأنبياء قتل باتفاق الفقهاء
Whoever insults a prophet from the prophets, is to be killed, by the agreement of the jurists
Shaykh Albani deemed this narration to be fabricated in Silsilah ad-Da'ifah (1/372 - #206) because of the narrator Al-U'mri, who is accused by Al-Hafiz Ibn Hajar and An-Nasa'i of lying and fabricating ahadith.