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].
حدثنا محمد بن العلاء حدثنا عبيد الله يعني ابن موسى عن علي بن صالح عن سماك بن حرب عن عكرمة
كان قريظة والنضير وكان النضير أشرف من قريظة فكان إذا قتل رجل من قريظة رجلا من النضير قتل به وإذا قتل رجل من النضير رجلا من قريظة فودي بمائة وسق من تمر فلما بعث النبي ﷺ قتل رجل من النضير رجلا من قريظة فقالوا ادفعوه إلينا نقتله فقالوا بيننا وبينكم النبي ﷺ فأتوه فنزلت {وإن حكمت فاحكم بينهم بالقسط} والقسط النفس بالنفس ثم نزلت {أفحكم الجاهلية يبغون}
Beginning of the Book of Blood MoneyReference [its chain of transmission is daif]. Nasai narrated it, Qasama, chapter on mentioning the disagreement regarding Ikrima on that matter, hadith no. 4736, from the hadith of Ubaydullah bin Musa with this wording, and Ibn Jarud graded it sahih, hadith no. 772.The chain of Simak from Ikrima is daif, as mentioned before, hadith no. 2238, and part of the hadith has a daif corroborating report.