Sunan an Nasai 4017
The Book of Fighting [The Prohibition of Bloodshed]
أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ، قَالَ حَدَّثَنَا يَحْيَى، قَالَ حَدَّثَنَا سُفْيَانُ، قَالَ حَدَّثَنَا أَبُو إِسْحَاقَ، عَنْ عَمْرِو بْنِ غَالِبٍ، قَالَ قَالَتْ عَائِشَةُ أَمَا عَلِمْتَ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " لاَ يَحِلُّ دَمُ امْرِئٍ مُسْلِمٍ إِلاَّ رَجُلٌ زَنَى بَعْدَ إِحْصَانِهِ أَوْ كَفَرَ بَعْدَ إِسْلاَمِهِ أَوِ النَّفْسُ بِالنَّفْسِ " . وَقَّفَهُ زُهَيْرٌ .
It was narrated that 'Amr bin Ghalib said:"Aishah said: 'Do you not know that the Messenger of Allah [SAW] said: It is not permissible to shed the blood of a Muslim, except a man who committed adultery after being married, or one who reverted to Kufr after becoming Muslim, or a life for a life
Grading: Abu Ghuddah: Sahih Lighairihi · Al-Albani: Sahih · Zubair Ali Zai: Hasan
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.