Sahih Muslim
The Book of Faith (Kitab Al-Iman)
Book Number: 001 / Hadith Number: 179
It is narrated on the authority of Abdullah b. Umar who narrates from the Prophet of Allah (may peace be upon him) who said: He who took up arms against us is not of us.