صحيح مسلم
From Sahih Muslim (Hadith 282):
It is narrated on the authority of Abu Musa Ash'ari:He who took up arms against us is not of us
Reference: Muslim 282