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:15903Abū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās al-Aṣam > Baḥr b. Naṣr > Ibn Wahb > Yūnus > Ibn Shihāb

[Machine] Allah said, "O you who have believed, prescribed for you is legal retribution for those murdered" [Al-Baqarah 178] the verse in its entirety. Then He said, "And We ordained for them in it that life is for life" [Al-Ma'idah 45] the verse in its entirety. Ibn Shihab said, when this verse was revealed, a woman was restrained from a man, and in cases of intentional injuries. Abdullah ibn Wahb narrated to us that Malik informed him that Sa'id ibn Al-Musayyib said, "A man is to be killed for killing a woman" Allah said, "And We ordained for them in it that life is for life" [Al-Ma'idah 45].  

البيهقي:١٥٩٠٣أَخْبَرَنَا أَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو ثنا أَبُو الْعَبَّاسِ الْأَصَمُّ ثنا بَحْرُ بْنُ نَصْرٍ ثنا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ قَالَ

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