At the time of the Messenger Muhammad (saw) there were individuals like these who dishonoured and insulted him upon whom the Islamic judgement was executed. Such people were not tolerated in the past and throughout the history of Islam were dealt with according to the Shariah. Ka’ab ibn Ashraf was assassinated by Muhammad ibn Maslamah for harming the Messenger Muhammad (saw) by his words,
The message ends:
"Where are the Muhammad ibn Maslamah’s of our ummah who will defend the honour of our beloved Messenger
Also it says:
The insulting of the Messenger Muhammad (saw) is something that the Muslims cannot and will not tolerate and the punishment in Islam for the one who does so is death. This is the sunnah of the prophet and the verdict of Islam upon such people, one that any Muslim is able execute.