صحيح مسلم
From Sahih Muslim (Hadith 283):
It is narrated on the authority of Abu Huraira that the Messenger of Allah (ﷺ) observed:He who took up arms against us is not of us and he who acted dishonestly towards us is not of us
Reference: Muslim 283