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