Jesus taught pacifism both in his teaching and by example:
King James Bible Matthew 26:52 Then said Jesus unto him, Put up again thy sword into his place: for all they that take the sword shall perish with the sword.
Matthew 5: 38You have heard that it was said, ‘Eye for eye and tooth for tooth.’ 39But I tell you not to resist an evil person. If someone slaps you on your right cheek, turn to him the other also; 40if someone wants to sue you and take your tunic, let him have your cloak as well;
John 18:36 NET Bible Jesus replied, "My kingdom is not from this world. If my kingdom were from this world, my servants would be fighting to keep me from being handed over to the Jewish authorities. But as it is, my kingdom is not from here."
If Jesus was regarded by the Islamic prophet as a true prophet, why didn't he obey him? Why did he contradict him and do the very opposite of what he taught?