Also Consider there is a difference between vengeance and justice.
After certain days Jesus passed near unto a city of the Samaritans; and they would not let him enter the city, nor would they sell bread to his disciples. Wherefore said James and John: 'Master, may it please thee that we pray God that he send down fire from heaven upon these people?'
Jesus answered: "Ye know not by what spirit ye are led, that ye so speak. Remember that God determined to destroy Nineveh because he did not find one who feared God in that city; the which was so wicked that God, having called Jonah the prophet to send him to that city, he would fain for fear of the people have fled to Tarsus, wherefore God caused him to be cast into the sea, and received by a fish and cast up nigh to Nineveh. And he preaching there, that people was converted to repentance, so that God had mercy on them.
Woe unto them that call for vengeance; for on themselves it shall come, seeing that every man hath in himself cause for the vengeance of God. Now tell me, have ye created this city with this people? O madmen that ye are, assuredly no. For all creatures united together could not create a single new fly from nothing, and this it is to create. If the blessed God who hath created this city now sustaineth it, why desire ye to destroy it? Why didst thou not say: "May it please thee, master, that we pray to the Lord our God that this people may be converted to penitence?" Assuredly this is the proper act of a disciple of mine , to pray to God for those who do evil. Thus did Abel when his brother Cain, accursed of God, slew him. Thus did Abraham for Pharaoh, who took from him his wife, and whom, therefore, the angel of God did not slay, but only struck with infirmity. Thus did Zechariah when, by decree of the impious king, he was slain in the temple. Thus did Jeremiah, Isaiah, Ezekiel, Daniel, and David, with all the friends of God and holy prophets. Tell me, if a brother were stricken with frenzy, would you slay him because he spoke evil and struck those who came near him? Assuredly ye would not do so; but rather would ye endeavour
to restore his health with medicines suitable to his infirmity.'
An Islamic Perspective and Commentary
by Ishaq Zahid
The story of Prophet Jonah (Yunus in arabic, peace be on him) is mentioned in the Holy Quran in the following verses:
037.139 So also was Jonah among those sent (by Us). 037.140 When he ran away (like a slave from captivity) to the ship (fully) laden, 037.141 He (agreed to) cast lots, and he was condemned: 037.142 Then the big Fish did swallow him, and he had done acts worthy of blame. 037.143 Had it not been that he (repented and) glorified God, 037.144 He would certainly have remained inside the Fish till the Day of Resurrection. 037.145 But We cast him forth on the naked shore in a state of sickness, 037.146 And We caused to grow, over him, a spreading plant of the gourd kind. 037.147 And We sent him (on a mission) to a hundred thousand (men) or more. 037.148 And they believed; so We permitted them to enjoy (their life) for a while.
As far as vengeance is concerned, a Muslim is expected to repel evil by good. A shining example is from the life of Prophet Muhammad (peace be on him). When he went to preach to a nearby town, Taif, every one rejected him and ridiculed him. Not only did they reject him, they also threw stones at him. The Prophet got hurt and was bleeding. At that moment, angel Gabriel (peace be on him) appeared and asked the prophet that if he so wished, he could crush the whole of Taif by squeezing them with the two mountains. The prophet said no. He told Gabriel that he will pray for them and if they do not believe, may be their next generation will. The prophet cared so much for the salvation of mankind. Allah, the one God, has described him as mercy for the worlds.