Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever withdraws from obedience and separates from the community and then dies has died a death of ignorance. Whoever fights under a blind banner, becoming angry for the sake of tribal partisanship, fighting for tribal partisanship, and supporting tribal partisanship, and is then killed, has died a death of ignorance. And whoever rises against my nation, striking down its righteous and its wicked alike, sparing not its believers and honoring no covenant with those bound to it by treaty, is not of me, and I am not of him."

Ahmad 7944

Sahih

حدثنا يزيد حدثنا جرير بن حازم عن غيلان بن جرير عن أبي قيس بن رياح

عن أبي هريرة قال

قال رسول الله ﷺ من خرج من الطاعة وفارق الجماعة فمات فميتته جاهلية ومن قاتل تحت راية عمية يغضب لعصبته ويقاتل لعصبته وينصر عصبته فقتل فقتلة جاهلية ومن خرج على أمتي يضرب برها وفاجرها لا يتحاشى لمؤمنها ولا يفي لذي عهدها فليس مني ولست منه

أحمد 7944صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 7944
Ahmad 7944