Don't you know that the Messenger of Allah ﷺ said, "The blood of a Muslim is not lawful to shed except in three cases, a man who commits adultery after marriage, one who disbelieves after accepting Islam, or a life for a life."Zuhayr narrated it as a stopped report.
أخبرنا عمرو بن علي قال حدثنا يحيى قال حدثنا سفيان قال حدثنا أبو إسحق عن عمرو بن غالب قال
أما علمت أن رسول الله ﷺ قال لا يحل دم امرئ مسلم إلا رجل زنى بعد إحصانه أو كفر بعد إسلامه أو النفس بالنفس وقفه زهير