It is narrated from Sayyiduna Salamah bin al-Akwa' (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever takes up arms against us is not one of us."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6224