Sunan Ibn Majah 2534
سنن ابن ماجه#2534SahihIt was narrated from 'Abdullah, who is Ibn Mas`ud, that the Messenger of Allah (ﷺ) said:“It is not lawful to shed the blood of a Muslim who bears witness that none has the right to be worshiped but Allah (SWT), and that I am the Messenger of Allah (ﷺ), except in one of three cases: a soul for a soul; a married person who commits adultery, and one who leaves his religion and splits from the Jama`ah.”
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Al-AlbaniSahih
Muhammad Fouad Abd al-BaqiSahih
Shuaib Al ArnautSahih
Zubair Ali ZaiSahih - Agreed Upon
In-book reference: 20:2