Sahih al-Bukhari, Book 92, Hadith 21 (Bukhari 6805)

Narrated `Abdullah bin `Umar:

Allah's Messenger (ﷺ) said, "Whoever takes up arms against us, is not from us."