He was an ally of Banu Zuhrah and was among those who witnessed Badr with the Messenger of Allah ﷺ. He reported that he said to the Messenger of Allah ﷺ, "What do you think if I encounter a man from the disbelievers and we fight, and he strikes one of my hands with the sword and cuts it off, then takes refuge from me behind a tree and says, 'I have submitted to Allah'? Should I kill him, Messenger of Allah, after he has said that?"The Messenger of Allah ﷺ replied, "Do not kill him."He said, "Messenger of Allah, but he cut off one of my hands, and only said that after cutting it off!"The Messenger of Allah ﷺ said, "Do not kill him, for if you kill him, he occupies the position you held before you killed him, and you occupy the position he held before he spoke the words he spoke."
حدثنا يعقوب حدثنا ابن أخي ابن شهاب عن عمه أخبرني عطاء بن يزيد الليثي ثم الجندعي أن عبيد الله بن عدي بن الخيار أخبره أن
وكان حليفا لبني زهرة وكان ممن شهد بدرا مع رسول الله ﷺ أخبره أنه قال لرسول الله ﷺ أرأيت إن لقيت رجلا من الكفار فاقتتلنا فضرب إحدى يدي بالسيف فقطعها ثم لاذ مني بشجرة فقال أسلمت لله أأقتله يا رسول الله بعد أن قالها قال رسول الله ﷺ لا تقتله قال يا رسول الله إنه قطع إحدى يدي ثم قال ذلك بعد ما قطعها قال رسول الله ﷺ لا تقتله فإنه بمنزلتك قبل أن تقتله وإنك بمنزلته قبل أن يقول كلمته التي قال