It was narrated that 'Amr bin Ghalib said:"Aishah said: 'O 'Ammar! Do you not know that it is not permissible to shed the blood of a Muslim except in three cases: a life for a life, a man who commits adultery after being married.'"
أَخْبَرَنَا هِلاَلُ بْنُ الْعَلاَءِ، قَالَ حَدَّثَنَا حُسَيْنٌ، قَالَ حَدَّثَنَا زُهَيْرٌ، قَالَ حَدَّثَنَا أَبُو إِسْحَاقَ، عَنْ عَمْرِو بْنِ غَالِبٍ، قَالَ قَالَتْ عَائِشَةُ يَا عَمَّارُ أَمَا إِنَّكَ تَعْلَمُ أَنَّهُ لاَ يَحِلُّ دَمُ امْرِئٍ إِلاَّ ثَلاَثَةٌ النَّفْسُ بِالنَّفْسِ أَوْ رَجُلٌ زَنَى بَعْدَ مَا أُحْصِنَ وَسَاقَ الْحَدِيثَ .
Nesai
The Book of Fighting [The Prohibition of Bloodshed] • Hadith 4018