akhlaq
[Surah Al-Qalam 68:4]
The day when Khaibar was conquered, there was a famous swordsman in the enemy camp, Murhab, a Jew, who was well known to be able to fight with 200 fighters. Murhab came out brandishing his sword, shouting a challenge of sword fighting . Ali bin Abi Talib (Allah be pleased with him) was chosen to fight with him and he accepted the challenge on behalf of Muslims. During the fight, Murhab was killed and the Jewish army was captured. All were pardoned and their lands were returned to them.
From their tribe, a lady called Zainab, who had lost her relative in the battle, invited the Prophet ﷺ for a meal. He accepted the invitation and went along with his companions. She inquired as to which part of the goat’s meat would the Prophet ﷺ prefer to eat. They told her that he preferred the shoulder. She poisoned it and offered it to the Prophet ﷺ. One of the companions, Bishr al Bara’ (Allah be pleased with him) ate it and went out after eating. Meanwhile, the Prophet ﷺ ate it but spat it out. He called her and asked, “Let all the Jews who are here, be assembled before me.”
The Jews gathered and the Messenger of Allah ﷺ said, “Would you tell me the truth if I ask you about something?”
They replied, “Yes.”
He asked, “Have you poisoned this sheep?”
They said, “Yes.”
He asked, “What made you do that?”
They said, “We wanted to know if you were a liar in which case we would have got rid of you, and if you are a Prophet then the poison would not harm you.”
The Prophet ﷺ forgave her on his own behalf but the other Sahabi Bishr died because of poison and his wife demanded the punishment of death. She was killed because the family of the martyred Sahabi did not pardon her and as per the Islamic law, they had a right to get her killed. But the Prophet ﷺ did not take revenge for being poisoned on his own behalf because he was following the instruction of Qur’an.
Once a Jew cast black magic and caused a lot of distress to the Prophet ﷺ.
It was narrated that ‘Aishah (Allaah be pleased with her) said: A spell was put on the Prophet ﷺ until he imagined that he had done a thing when he had not done it. One day he made du’aa’ then he said: “Do you know that Allah has shown me in which lies my cure? Two men (angels) came to me and one of them sat at my head and the other at my feet. One of them said to the other, ‘What is ailing the man?’ He said: ‘He has been bewitched.’ He said: “Who has bewitched him?’ He said: ‘Labeed ibn al-A’sam.’ He said, ‘With what?’ He said: ‘With a comb, the hair that is stuck to it, and the skin of pollen of a male date palm. He said: ‘Where is it?’ He said, ‘In the well of Dharwaan.’” The Prophet ﷺ went out to the well, then he came back and said to ‘Aishah when he came back: “Its date palms are like the heads of devils.” I said: “Did you take it out?” He said: “No. Allah has healed me, and I feared that it might bring evil upon the people.” Then the well was filled in.Narrated by al-Bukhaari, 3268; Muslim, 2189.
The companions wanted to behead the Jew who cast the magic as punishment. The Prophet ﷺ refused to kill and to take revenge for his own sake and pardoned him. Though Islamic ruling commands death penalty for a magician, the Prophet ﷺ forgave the one who cast magic on him. He gave up his right to take revenge. This is a perfect implementation of the above verses.