The Messenger of Allah ﷺ said, "Whoever takes up arms against us is not one of us, and whoever deceives us is not one of us."
أن رسول الله ﷺ قال: من حمل علينا السلاح فليس منا، ومن غشنا فليس منا.
Muslim narrated it in the chapter on faith (101), through Yaqub bin Abdul-Rahman Qari and Ibn Abu Hazim, both from Suhayl bin Abu Salih, from Abu Hurairah, who mentioned it.