"Either judge between them, or turn away from them. If you turn away from then up to: those who act justly."[1] - were revealed concerning the matter of blood money between An-Nadir and Quraizah. That was because the slain of An-Nadir were of noble status, so the blood money would be paid in full for them, but for Banu Quraizah only half of the blood money would be paid. They referred the matter to the Messenger of Allah for judgment, then Allah, the Mighty and Sublime, revealed that concerning them, so the Messenger of Allah told them to do the right thing and he made the blood money equal. (Using translation from Nasāʾī 4733)
اللهُ فِيهَا {فَاحْكُمْ بَيْنَهُمْ أَوْ أَعْرِضْ عَنْهُمْ} [المائدة 42] إِلَى {الْمُقْسِطِينَ} [المائدة 42] إِنَّمَا نَزَلَتْ فِي الدِّيَةِ بَيْنَ بَنِي النَّضِيرِ وَبَنِي قُرَيْظَةَ وَذَلِكَ أَنَّ قَتْلَى النَّضِيرِ كَانَ لَهُمْ شَرَفٌ يُودَوْنَ الدِّيَةَ كَامِلَةً وَأَنَّ بَنِي قُرَيْظَةَ كَانُوا يُودَوْنَ نِصْفَ الدِّيَةِ فَتَحَاكَمُوا فِي ذَلِكَ إِلَى رَسُولِ اللهِ ﷺ «فَأَنْزَلَ اللهُ ذَلِكَ فِيهِمْ فَحَمَلَهُمْ رَسُولُ اللهِ ﷺ عَلَى الْحَقِّ فِي ذَلِكَ فَجَعَلَ الدِّيَةَ سَوَاءً»