While I was standing in the ranks on the day of Badr, I looked to my right and my left, and found myself between two young Ansari boys of tender age. I had wished I were between two stronger men. Then one of them nudged me and asked, "Uncle, do you know Abu Jahl?"I replied, "Yes. What do you want with him, nephew?"He said, "I have been told that he insults the Messenger of Allah ﷺ. By the One in whose hand my soul rests, if I see him, my body will not leave his until the one of us whose time has come dies first."I was amazed at this. Then the other boy nudged me and said the same thing.It was not long before I caught sight of Abu Jahl moving about among the people, and I said, "Do you not see? This is the man you were asking about."They both rushed at him and struck him with their swords until they killed him. Then they returned to the Messenger of Allah ﷺ and told him.He asked, "Which of you killed him?"Each one of them said, "I killed him."He asked, "Have you wiped your swords?"They replied, "No."He examined the two swords and said, "Both of you killed him."He awarded his spoils to Muaz bin Amr bin Jamuh. The two men were Muaz bin Amr bin Jamuh and Muaz bin Afra.
بينا أنا واقف في الصف يوم بدر، نظرت عن يميني وشمالي، فإذا أنا بين غلامين من الأنصار، حديثة أسنانهما، تمنيت لو كنت بين أضلع منهما، فغمزني أحدهما. فقال: يا عم! هل تعرف أبا جهل. قال: قلت نعم وما حاجتك إليه يا ابن أخي. قال: أخبرت أنه يسب رسول الله ﷺ، والذي نفسي بيده لئن رأيته، لا يفارق سوادي سواده حتى يموت الأعجل منا. قال: فتعجبت لذلك فغمزني الآخر، فقال: مثلها، قال: فلم أنشب أن نظرت إلى أبي جهل، يجول في الناس، فقلت: ألا تريان هذا صاحبكما الذي تسألان عنه قال: فابتدراه فضرباه بسيفيهما حتى قتلاه، ثم انصرفا إلى رسول الله ﷺ، فأخبراه. فقال: أيكما قتله. فقال كل واحد منهما أنا قتلت. فقال: هل مسحتما سيفيكما قالا: لا. فنظر فى السيفين فقال: كلاكما قتله. وقضى بسلبه لمعاذ بن عمرو بن الجموح والرجلان معاذ بن عمرو بن الجموح ومعاذ ابن عفراء.
Bukhari narrated it in the chapter on the obligation of khumus (3141), and Muslim in jihad and expeditions (1752:42), both of them from Yusuf bin Majishun, from Salih bin Ibrahim bin Abdul-Rahman bin Awf, from his father, from his grandfather Abdul-Rahman bin Awf, that he said, and then he mentioned it.