Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:15969Abū Zakariyyā b. Abū Isḥāq

[Machine] "In His statement, 'the free for the free, the slave for the slave, and the female for the female' [Surah Al-Baqarah 2:178], it is said that they used to not kill a man for a woman, but they would kill a man for another man, and a woman for another woman. So Allah revealed, 'life for life' [Surah Al-Ma'idah 5:45]. He made the free people equal in retaliation among themselves, whether it was in terms of their male or female slaves, for the sake of life and other than life. And He made the slaves equal among themselves in terms of retaliation, whether it was in terms of their male or female slaves, for the sake of life and other than life."  

البيهقي:١٥٩٦٩أَخْبَرَنَا أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ أنبأ أَبُو الْحَسَنِ الطَّرَائِفِيُّ ثنا عُثْمَانُ بْنُ سَعِيدٍ ثنا عَبْدُ اللهِ بْنُ صَالِحٍ عَنْ مُعَاوِيَةَ بْنِ صَالِحٍ عَنْ عَلِيِّ بْنِ أَبِي طَلْحَةَ عَنِ ابْنِ عَبَّاسٍ

فِي قَوْلِهِ {الْحُرُّ بِالْحُرِّ وَالْعَبْدُ بِالْعَبْدِ وَالْأُنْثَى بِالْأُنْثَى} [البقرة 178] قَالَ كَانُوا لَا يَقْتُلُونَ الرَّجُلَ بِالْمَرْأَةِ وَلَكِنْ يَقْتُلُونَ الرَّجُلَ بِالرَّجُلِ وَالْمَرْأَةَ بِالْمَرْأَةِ فَأَنْزَلَ اللهُ ﷻ {النَّفْسَ بِالنَّفْسِ} [المائدة 45] قَالَ فَجَعَلَ الْأَحْرَارَ فِي الْقِصَاصِ سَوَاءً فِيمَا بَيْنَهُمْ فِي الْعَمْدِ رِجَالَهُمْ وَنِسَاءَهُمْ فِي النَّفْسِ وَفِيمَا دُونَ النَّفْسِ وَجَعَلَ الْعَبِيدَ مُسْتَوِينَ فِيمَا بَيْنَهُمْ فِي الْعَمْدِ فِي النَّفْسِ وَفِيمَا دُونَ النَّفْسِ رِجَالَهُمْ وَنِسَاءَهُمْ