From Sahih Muslim (Hadith 7253):
Ahnaf b. Qais reported on the authority of Abu Bakra that Allah's Messenger (ﷺ) said:When two Muslims confront each other with their swords, both the slayer and the slain are doomed to Hell-Fire
Reference: Muslim 7253