Sunan Ibn Majah, Book 20, Hadith 44 (Ibn Majah 2578)

It was narrated from Ibn `Umar that the Messenger of Allah (ﷺ) said:

“Whoever bears weapons against us is not one of us.'”