It was narrated from Ibn `Umar that the Messenger of Allah (ﷺ) said:
"Whoever bears weapons against us is not one of us.'" (ES)
English reference (ES): Vol. 3, Book 20, Hadith 2576 (ES)
Arabic reference (ES): Book 20, Hadith 2674 (ES)