صحيح البخاري
From Sahih Bukhari (Hadith 7071):
Narrated Abu Musa:The Prophet (ﷺ) said, "Whoever takes up arms against us, is not from us
Reference: Bukhari 7071