Ibn 'Umar (May Allah bepleased with them) reported:
Messenger of Allah (ﷺ) said, "A believer continues to guard his Faith (and thus hopes for Allah's Mercy) so long as he does not shed blood unjustly".[Al-Bukhari].
Arabic/English book reference: Book 1, Hadith 220