Abdullah bin Abbas reported,

The tribes of Qurayzah and Nadir lived together, and Nadir held a higher status than Qurayzah. So when a man from Qurayzah killed a man from Nadir, he was put to death in retaliation, but when a man from Nadir killed a man from Qurayzah, the matter was settled by paying a blood-money of one hundred wasqs of dates.When the Prophet ﷺ was sent, a man from Nadir killed a man from Qurayzah, and the people of Qurayzah said, "Hand him over to us so we may put him to death."The people of Nadir replied, "Let the Prophet ﷺ judge between us."So they came to him, and the verse was revealed, "And if you judge, judge between them with justice" [Maidah 5:42]. Justice here means a life for a life. Then the verse was revealed, "Is it the judgment of ignorance they seek?" [Maidah 5:50].

Abu Dawud 4494

Daif

حدثنا محمد بن العلاء حدثنا عبيد الله يعني ابن موسى عن علي بن صالح عن سماك بن حرب عن عكرمة

عن ابن عباس قال

كان قريظة والنضير وكان النضير أشرف من قريظة فكان إذا قتل رجل من قريظة رجلا من النضير قتل به وإذا قتل رجل من النضير رجلا من قريظة فودي بمائة وسق من تمر فلما بعث النبي ﷺ قتل رجل من النضير رجلا من قريظة فقالوا ادفعوه إلينا نقتله فقالوا بيننا وبينكم النبي ﷺ فأتوه فنزلت {وإن حكمت فاحكم بينهم بالقسط} والقسط النفس بالنفس ثم نزلت {أفحكم الجاهلية يبغون}

أبو داود 4494ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Blood money
Chapter
Life for a life
Numbering
Darussalam 4494
Abu Dawud 4494