If there are any shortcomings in the previous answers, please point them out so they can be corrected. Overall, we can summarize the matter as follows:
Forgiveness should be offered in light of the circumstances, the people involved, and their aims, purposes and intentions.
The nature of the harm, the character and situation of the person causing it, and the reason for the harm should all be considered. Any forgiveness, response or reaction should then be proportionate.
Every hurtful act calls for its own response. Each injury is a pain that requires its own remedy, and one should respond accordingly.
Forgiveness is not always the answer to harm, just as revenge is not always the answer. One should respond well and appropriately, after reflection and sound deliberation.
Forgiveness is a form of capital, and whoever possesses it must know how to spend it.
The healing effect of forgiveness should remedy the wrongdoer’s evil; otherwise, forgiveness will be squandered. One who forgives should examine the illness of an oppressor as a physician would. If the remedy fails to neutralize the effects of the oppression and instead entrenches or intensifies it, then such forgiveness would be an injustice to oneself and to others.
المعروف علی قدر المعرفه — The granting of forgiveness should be proportionate to the recipient’s understanding and worthiness. Otherwise, forgiving someone undeserving is an injustice to forgiveness itself.
Forgiving someone who grows more brazen in causing harm is the worst kind of forgiveness in the world.
Where forgiveness can have a meaningful and effective impact:
المؤمنون : 96 ادفع بالتی هی أحسن السیئه نحن أعلم بما یصفون
Repel evil in the best way. We know best what they say.
فصلت : 34 و لا تستوی الحسنه و لا السیئه ادفع بالتی هی أحسن فإذا الذی بینک و بینه عداوه کأنه ولی حمیم
Good and evil are never equal. Repel evil with what is best, and then the one between whom and you there is enmity will become like a close, devoted friend.
When taking revenge, justice must be observed.
یونس : 27 و الذین کسبوا السیئات جزاء سیئه بمثلها و ترهقهم ذله ما لهم من الله من عاصم کأنما أغشیت وجوههم قطعا من اللیل مظلما أولئک أصحاب النار هم فیها خالدون
As for those who commit evil deeds, the recompense for an evil deed will be its like, and humiliation will overwhelm them. They will have no one to protect them from God. It will be as though their faces were covered with patches of darkest night. They are the people of the Fire, where they will remain forever.