Uthman bin Affan reported,

He looked down from the upper part of the house during the siege and said, "I implore you by Allah, do you not know that the Messenger of Allah ﷺ said, 'The blood of a Muslim man is not lawful to shed except for one of three reasons, adultery after marriage, apostasy after Islam, or killing a soul unlawfully, for which he is killed in retaliation'? By Allah, I never committed adultery, neither in the days of ignorance nor in Islam, nor have I apostatized since I pledged allegiance to the Messenger of Allah ﷺ, nor have I killed the soul that Allah has forbidden. So for what reason do you kill me?"

Tirmidhi 2158

Sahih

حدثنا أحمد بن عبدة الضبي حدثنا حماد بن زيد عن يحيى بن سعيد عن أبي أمامة بن سهل بن حنيف أن

عثمان بن عفان

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

الترمذي 2158صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tribulations
Chapter
Blood of a Muslim being lawful only for one of three reasons
Numbering
Darussalam 2158
Tirmidhi 2158