Narrated 'Abdullah bin Mas'ud:that the Messenger of Allah (ﷺ) said: "The blood of a Muslim man, who testifies that none has the right to be worshipped Allah, is not lawful except for one of three cases: The (previously married or) married adulterer, a life for a life, and the one who leaves the religion and parts from the Jama'ah (the community of Muslims)
Hadith No. 1402
Jami At Tirmidhi
Gradings:
Ahmad Muhammad Shakir:
Sahih
Al-Albani:
Sahih
Bashar Awad Maarouf:
Hasan Sahih
Zubair Ali Zai:
Sahih - Agreed Upon