[Machine] A man may be a believer while his people are disbelievers, so he does not have to pay blood money (for killing someone from his people). However, he must free a believing slave (as atonement). But if they belong to a people who have a treaty with you, then a ransom is due from him (for killing someone from his people), a believing slave being freed (as well).
يَكُونُ الرَّجُلُ مُؤْمِنًا وَيَكُونُ قَوْمُهُ كُفَّارًا فَلَا دِيَةَ لَهُ وَلَكِنْ عِتْقُ رَقَبَةٍ مُؤْمِنَةٍ {وَإِنْ كَانَ مِنْ قَوْمٍ بَيْنَكُمْ وَبَيْنَهُمْ مِيثَاقٌ} [النساء 92] قَالَ عَهْدٌ {فَدِيَةٌ مُسَلَّمَةٌ إِلَى أَهْلِهِ وَتَحْرِيرُ رَقَبَةٍ مُؤْمِنَةٍ} [النساء 92]