Anyone who kills a believer by mistake should free a believing slave and pay blood money to the victim 's relatives unless they forego it as an act of charity . If the victim belongs to a people at war with you , but is a believer , then the compensation is to free a believing slave .