God loves those who forgive often and God loves the least who are arrogant. Everything God says in Quran is demonstrated by the prophet.
A few Muslims believe they have to defend the prophet, they are wrong, he is beyond all defending, same goes with God, he protects us and not vice versa.
Here is a list compiled by Muhammad Yunus about how forgiving the prophet was.
The Meccans called the Prophet an impostor (30:58), insane (44:1, 68:51), and an insane poet (37:36), questioned why he could not show any miracles (6:37, 11:12, 13:7, 17:90-93, 21:5, 25:7/8, 29:50), and why the Qur'an was not revealed to a man of importance from the two cities (43:31), charged him of being coached morning and evening (25:5, 44:14). They also charged him with forging lies and witchcraft (34:43, 38:4), forging lies against God, forgery and making up tales (11:13, 32:3, 38:7, 46:8), witchcraft (21:3, 43:30, 74:24), obvious witchcraft that was bewildering (10:2, 37:15, 46:7) and of being bewitched or possessed by a Jinn (17:47, 23:70, 34:8).
That was when he was in Mecca - the first 12 years of the revelation when he was not in a position to protest let alone revenge.He bore all these charges and insulting remarks with patience and without any protest and continued to love his people (42:23)
Come Medinite period that saw the Prophet rising in power day by day and becoming the chief arbiter (Civil Head) of Medina who could punish anyone he wished, he remained no less forgiving: :
The Prophet forgave those who deserted him on way to a battlefield (Uhud) by saying: if they knew how to fight, they would have followed the Prophet (3:167).
The Prophet forgave those of his followers (3:159) who defied his orders in the battle of Uhud and ran off for booty at a crucial moment in the battle (3:153) leading to the defeat of the Muslims:
He forgave all his Meccan enemies upon integration of Mecca.
He forgave all the hypocrites who had persistently conspired against him and even planned to kill him
He forgave the defenders at the Trench Siege who took excuse of him and left the defense line.
He forgave the followers who declined to join him in his most risky mission to the first pilgrimage that ended in the Hudaiyba Peace Treaty.