Abdullah bin Masud reported,

The Messenger of Allah ﷺ said, "By the One besides whom there is no god, the blood of a Muslim man who testifies that there is no god but Allah and that I am the Messenger of Allah is not lawful to shed except in three cases, the one who abandons Islam and separates from the community, the married person who commits adultery, and a life for a life."Amash said, "I narrated this to Ibrahim, and he narrated to me from Aswad, from Ayesha, the same."

Nasai 4021

Sahih

أخبرنا إسحق بن منصور قال أنبأنا عبد الرحمن عن سفيان عن الأعمش عن عبد الله بن مرة عن مسروق

عن عبد الله قال

قال رسول الله ﷺ والذي لا إله غيره لا يحل دم امرئ مسلم يشهد أن لا إله إلا الله وأني رسول الله إلا ثلاثة نفر التارك للإسلام مفارق الجماعة والثيب الزاني والنفس بالنفس قال الأعمش فحدثت به إبراهيم فحدثني عن الأسود عن عائشة بمثله

النسائي 4021صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prohibition of bloodshed
Chapter
What makes the blood of a Muslim lawful
Numbering
Darussalam 4021
Nasai 4021