In the name of Allah, the Gracious, the Merciful
Allah has praised those who respond to evil with good deeds.
Those who repel evil with good will find that their enemies will become their friends.
Allah said:
وَلَاتَسْتَوِيالْحَسَنَةُوَلَاالسَّيِّئَةُادْفَعْبِالَّتِيهِيَأَحْسَنُفَإِذَاالَّذِيبَيْنَكَوَبَيْنَهُعَدَاوَةٌكَأَنَّهُوَلِيٌّحَمِيمٌوَمَايُلَقَّاهَاإِلَّاالَّذِينَصَبَرُواوَمَايُلَقَّاهَاإِلَّاذُوحَظٍّعَظِيمٍ
“Not equal are the good deed and the bad deed. Repel evil by that which is better, and then the one who is hostile to you will become as a devoted friend. But none is granted it except those who are patient and none is granted it except one having a great fortune.”
Surah Fussilat 41:34-35
Ibn Abbas (may Allah be pleased with him) said regarding this verse:
أَمَرَاللَّهُالْمُؤْمِنِينَبِالصَّبْرِعِنْدَالْغَضَبِوَالْحِلْمِعِنْدَالْجَهْلِوَالْعَفْوِعِنْدَالْإِسَاءَةِفَإِذَافَعَلُواذَلِكَعَصَمَهُمُاللَّهُمِنَالشَّيْطَانِوَخَضَعَلَهُمْعَدُوُّهُمْكَأَنَّهُوَلِيٌّحَمِيمٌ
Allah commands the believers to be patient when they feel angry, to be forbearing when confronted with ignorance, and to forgive when they are mistreated. If they do this, Allah will save them from Satan and subdue their enemies to them until they become like close friends.
Source: Tafseer Ibn Kathir 41:34
Allah has commanded the believers in several verses to repel evil with good by being patient, merciful, and forgiving when confronted with mistreatment.
Allah said:
وَالَّذِينَصَبَرُواابْتِغَاءَوَجْهِرَبِّهِمْوَأَقَامُواالصَّلَاةَوَأَنفَقُوامِمَّارَزَقْنَاهُمْسِرًّاوَعَلَانِيَةًوَيَدْرَءُونَبِالْحَسَنَةِالسَّيِّئَةَأُولَٰئِكَلَهُمْعُقْبَىالدَّارِ
“Those who are patient, seeking the countenance of their Lord, and establish prayer and spend from what We have provided for them, secretly and publicly, and repel evil with good, for those will have the good end.”
Surah Ar-Ra’d 13:22
And Allah said:
أُولَٰئِكَيُؤْتَوْنَأَجْرَهُممَّرَّتَيْنِبِمَاصَبَرُواوَيَدْرَءُونَبِالْحَسَنَةِالسَّيِّئَةَوَمِمَّارَزَقْنَاهُمْيُنفِقُونَ
“Those will be given their reward twice for what they patiently endured and they repel evil with good, and they spend from what We have provided them.”
Surah Al-Qasas 28:54
And Allah said:
ادْفَعْبِالَّتِيهِيَأَحْسَنُالسَّيِّئَةَنَحْنُأَعْلَمُبِمَايَصِفُونَ
“Repel evil with what is better. We are most knowing of what they describe.”
Surah Al-Muminun 23:96
And Allah said:
الَّذِينَيُنفِقُونَفِيالسَّرَّاءِوَالضَّرَّاءِوَالْكَاظِمِينَالْغَيْظَوَالْعَافِينَعَنِالنَّاسِوَاللَّهُيُحِبُّالْمُحْسِنِينَ
“They are those who spend in charity during ease and hardship and who restrain their anger and pardon the people, for Allah loves those who are good.”
Surah Ali Imran 3:134
Allah has mentioned that it is the practice of the prophets to patiently the abuse of those who wrong them.
Allah said:
قَالَتْلَهُمْرُسُلُهُمْإِننَّحْنُإِلَّابَشَرٌمِّثْلُكُمْوَلَٰكِنَّاللَّهَيَمُنُّعَلَىٰمَنيَشَاءُمِنْعِبَادِهِوَمَاكَانَلَنَاأَننَّأْتِيَكُمبِسُلْطَانٍإِلَّابِإِذْنِاللَّهِوَعَلَىاللَّهِفَلْيَتَوَكَّلِالْمُؤْمِنُونَوَمَالَنَاأَلَّانَتَوَكَّلَعَلَىاللَّهِوَقَدْهَدَانَاسُبُلَنَاوَلَنَصْبِرَنَّعَلَىٰمَاآذَيْتُمُونَاوَعَلَىاللَّهِفَلْيَتَوَكَّلِالْمُتَوَكِّلُونَ
“Their messengers said to them: We are only men like you, but Allah confers favor upon whom He wills of His servants. It has never been for us to bring you evidence except by permission of Allah, and upon Allah let the believers rely. Why should we not rely upon Allah while He has guided us to our ways? We will surely be patient against whatever harm you cause us, and let them depend upon Allah those who would rely.”
Surah Ibrahim 14:11-12