English translation
6878. Narrated ‘رضي الله عنه’ Allāh’s Messenger ﷺ said, “The blood of a Muslim who confesses that Lā ilāha illallāh (none has the right to be worshipped but Allāh) and that I am the Messenger of Allāh, cannot be shed except in three cases: (1) Life for life, (in cases of intentional murders without right, i.e., in Qisāṣ - Law of Equality in punishment); (2) a married person who commits illegal sexual intercourse, and (3) the one who turns renegade from Islām (apostate) and leaves the group of Muslims (by innovating heresy, new ideas and new things, etc. in the Islāmic religion).” [See Fath-Al-Bārī for details].
