Ahnaf bin Qays reported,

I went out to support this man, meaning Ali bin Abu Talib, when Abu Bakra met me and asked, "Where are you headed?"I replied, "I am going to support this man."He said, "Turn back, for I heard the Messenger of Allah ﷺ say, 'When two Muslims confront each other with their swords, both the killer and the slain are in the Fire.' I asked, 'Messenger of Allah, this is the killer, but what about the one who was killed?' He answered, 'He was eager to kill his companion.'"

Azami 163

Sahih

عن الأحنف بن قيس، قال

ذهبت لأنصر هذا الرجل (يعني علي ابن أبي طالب) فلقيني أبو بكرة فقال: أين تريد؟ قلت: أنصر هذا الرجل. قال: ارجع، فإني سمعت رسول الله ﷺ يقول: إذا التقى المسلمان بسيفهما فالقاتل والمقتول في النار. فقلت: يا رسول الله هذا القاتل، فما بال المقتول؟ قال: إنه كان حريصا على قتل صاحبه.

الأعظمي 163صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Qualities of faith
Section
Saying of Allah the Exalted, "And if two factions among the believers fight, then make settlement between them," so He called them believers
Numbering
Jami al-Kamil 163 (2nd edition)
Azami 163