It has been mentionen in many true traditions and the books...
It has been mentionen in many true traditions and the books of Hadith are full of such traditions. All the historians, who have recorded the history of the battle of Badr, have mentioned this and mentioned that the Prophet (s) had forbidden from killing any one of the Hashemites.
(280) Hisham bin al-Harith bin Asad, he has not to kill him[^1] and if any of you meets al-Abbas bin Abdul Muttalib (the Prophet’s uncle) he has not to kill him because he has gone to war unwillingly.” The Prophet (s) has forbidden his companions from killing any one of the Hashemites and then he has forbidden them from killing his uncle al-Abbas especially to confirm and to stress on that al-Abbas were not to be killed.
When al-Abbas had been captured as prisoner, the Prophet (s) had spent that night sleeplessly. His companions asked him: “O messenger of Allah, why could you not sleep?” He said: “I heard my uncle writhing in his ties and I could not sleep.” They went and set al-Abbas free of his ties and then the Prophet (s) could sleep.[^2] Yahya bin Katheer said: “On the day (the battle) of Badr the Muslims have captured seventy men of the polytheists, among whom was al-Abbas, the Prophet’s uncle.
Umar bin al-Khattab was responsible for tying him. Al-Abbas said: “O Umar, by Allah, what leads you to tighten my ties is because of my slapping you for the sake of the messenger of Allah.” The Prophet (s) heard the moaning of al-Abbas and he could not [^1] Al-Bidayeh wen-Nihayeh by ibn Katheer, vol.3 p.284 and other books of history like Seera of ibn Isshaq.
The Prophet (s) has forbidden his companions from killing Abul Bukhturi because he was one of those who had broken the bond (as-Saheefa) of the blockade against the Hashimites and he was among those who had not harmed the Prophet (s) or showed him what he disliked. The Prophet (s) intended to keep him alive so that Allah might guide him to the right path one day.
In the thick of the battle al-Mujthir bin Ziyad al-Balawi met Abul Bukhturi and said to him: “The messenger of Allah (s) has forbidden us from killing you.” Abul Bukhturi had a companion with him. He was Junada bin Maleeha from bani Layth who had come with him from Mecca. Abul Bukhturi said to al-Mujthir: “Will my friend not be killed too?” Al-Mujthir said: “No by Allah, we will not leave your friend.
The messenger of Allah has ordered us about you alone.” Abul Bukhturi said: “Then I will die with him.