The Quran 16:125-126 (Surah an-Nahl)
“Invite to the Way of your Lord with wisdom and fair preaching, and reason with them in the better way. Indeed, your Lord knows best who has strayed from His Path and He is Best Aware of those who are rightly guided.
And if you punish an enemy, then punish with the equivalent of that with which you were harmed. But if you endure patiently, verily, it is better for those who are patient.”