Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:15862Khālid b. Dihqān Thum Ḥaddath Ibn Abū Zakariyyā > Um al-Dardāʾ > Abū al-Dardāʾ

[Machine] Narrated by Prophet Muhammad ﷺ , Haneeth bin Kulthoom, Mahmoud bin Rabee, and Ubada, the Prophet ﷺ said, "A believer remains righteous as long as he does not shed unlawful blood." Khalid asked Yahya Al-Ghassani about his feelings regarding killing, to which Yahya replied, "They are the ones who kill during times of turmoil, and they kill one of their own, believing that they are upon the right path without seeking forgiveness from Allah ever." And Abu Ali Al-Roudhbari informed us that Abu Bakr bin Dasa narrated to us, who was informed by Abu Dawood, who was informed by Mu'ammal bin Al-Fadl Al-Harani, who was informed by Muhammad bin Shuaib, who was informed by Khalid bin Dahqan. Khalid mentioned the three hadiths, except that he said in the third hadith, "A believer remains virtuous as long as he does not shed unlawful blood. But if he sheds unlawful blood, he becomes a rebellious disbeliever." And he did not mention the interpretation of Al-Ghassani.  

البيهقي:١٥٨٦٢قَالَ خَالِدُ بْنُ دِهْقَانَ ثُمَّ حَدَّثَ ابْنُ أَبِي زَكَرِيَّا عَنْ أُمِّ الدَّرْدَاءِ عَنْ أَبِي الدَّرْدَاءِ

عَنِ النَّبِيِّ ﷺ وَحَدَّثَ هَانِئُ بْنُ كُلْثُومٍ عَنْ مَحْمُودِ بْنِ الرَّبِيعِ عَنْ عُبَادَةَ عَنِ النَّبِيِّ ﷺ قَالَ لَا يَزَالُ الْمُؤْمِنُ صَالِحًا مَا لَمْ يُصِبْ دَمًا قَالَ قَالَ خَالِدٌ سَأَلْتُ يَحْيَى الْغَسَّانِيَّ عَنِ اغْتِبَاطِهِ بِقَتْلِهِ قَالَ هُمُ الَّذِي يَقْتُلُونَ فِي الْفِتْنَةِ فَيَقْتُلُ أَحَدُهُمْ فَيَرَى أَنَّهُ عَلَى هُدًى لَا يَسْتَغْفِرُ اللهَ مِنْهُ أَبَدًا 15862 وَأَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا مُؤَمَّلُ بْنُ الْفَضْلِ الْحَرَّانِيُّ ثنا مُحَمَّدُ بْنُ شُعَيْبٍ عَنْ خَالِدِ بْنِ دِهْقَانَ فَذَكَرَ الْأَحَادِيثَ الثَّلَاثَةَ إِلَّا أَنَّهُ قَالَ فِي الْحَدِيثِ الثَّالِثِ لَا يَزَالُ الْمُؤْمِنُ مُعْنِقًا صَالِحًا مَا لَمْ يُصِبْ دَمًا حَرَامًا فَإِذَا أَصَابَ دَمًا حَرَامًا بَلَّحَ وَلَمْ يَذْكُرْ تَفْسِيرَ الْغَسَّانِيِّ