Ibn 'Umar (RAA) narrated that The Messenger of Allah (ﷺ) said:
"Whoever carries arms against us, is not one of us." Agreed upon. (ES)
English reference (ES): Book 9, Hadith 1232 (ES)
Arabic reference (ES): Book 9, Hadith 1203 (ES)