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.