Bulugh al-Maram, Book 9, Hadith 1203 (In-Book)

Ibn 'Umar (RAA) narrated that The Messenger of Allah said: “Whoever carries arms against us, is not one of us.” Agreed upon.

عَنْ اِبْنِ عُمَرَ رِضَيَ اَللَّهُ عَنْهُمَا قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ مَنْ حَمَلَ عَلَيْنَا اَلسِّلَاحَ, فَلَيْسَ مِنَّا } مُتَّفَقٌ عَلَيْهِ.‏ 1‏ ‏1 ‏- صحيح رواه البخاري (6874)‏، ومسلم (98)‏.‏

sunnah.com

also referenced under: Book 9, Hadith 1232 (English)