[Machine] The verses in Surah Al-Ma'idah (5:42) "So judge between them by what Allah has revealed and do not follow their desires away from what has come to you of the truth. To each of you We prescribed a law and a method. Had Allah willed, He would have made you one nation [united in religion], but [He intended] to test you in what He has given you; so race to [all that is] good. To Allah is your return all together, and He will [then] inform you concerning that over which you used to differ." were revealed regarding the matter of Diyah (blood money) concerning the Banu Quraizah and Bani Nadir tribes. It was because the Banu Nadir had the honor of paying the Diyah in full, while the Banu Quraizah would only pay half of it. They presented the dispute to the Messenger of Allah ﷺ, so Allah revealed these verses in this regard. The Messenger of Allah ﷺ judged between them according to the truth, and made the Diyah equal for both tribes.
إِنَّ الْآيَاتِ الَّتِي فِي الْمَائِدَةِ {فَاحْكُمْ بَيْنَهُمْ بِالْقِسْطِ إِنَّ اللهَ يُحِبُّ الْمُقْسِطِينَ} إِنَّمَا نَزَلَتْ فِي الدِّيَةِ فِي بَنِي قُرَيْظَةَ وَبَنِي النَّضِيرِ وَذَلِكَ أَنَّ قَبِيلَ بَنِي النَّضِيرِ كَانَ لَهُمْ شَرَفٌ يُؤَدُّونَ الدِّيَةَ كَامِلَةً وَإِنَّ بَنِي قُرَيْظَةَ كَانُوا يُؤَدُّونَ نِصْفَ الدِّيَةِ فَتَحَاكَمُوا فِي ذَلِكَ إِلَى رَسُولِ اللهِ ﷺ فَأَنْزَلَ اللهُ ذَلِكَ فِيهِمْ فَحَمَلَهُمْ رَسُولُ اللهِ ﷺ عَلَى الْحَقِّ فِي ذَلِكَ فَجَعَلَ الدِّيَةَ سَوَاءً