The Quran contains multiple
examples of prophets and the message of God itself being
ridiculed but there is not one instance of allowing violence
or a punishment for such an act. Please see some unequivocal
4:140 ...when you hear the revelations of God
being rejected and mocked, then do not sit with them until
they move on to a different narrative...
73:10 And be patient over whatever
they say, and depart from them in a good manner.
3:186 ...and you will hear from those
who have been given the Book from before you and from the
polytheists much annoyance. And if you are patient and
righteous, then that is from a strength of conviction.
28:55 If they (believers) come across
vain talk, they disregard it and say, "To us are our
deeds, and to you is your deeds. Peace be upon you. We do
not seek the ignorant."
Those who listen to what is said, then
follow the best of it; those are the ones God has guided,
and are the men of understanding.[39:18]
Invite to the
way of your Lord with wisdom and good instruction, and argue
with them in a way that is best.” [16:125]
Not equal are the good and the bad
response. You shall resort to the one which is better.
Thus, the one who used to be your enemy may become your
pardoning, and order with what is good, and leave alone
the ignorant ones.[7:199]
See also 7:180, 10:65, 33:48.
For example, reacting with violence because of cartoons
mocking prophet Muhammad is in contradiction to The Quran.