And whoever kills a believer by mistake - then the freeing of a believing slave and a compensation payment presented to the deceased 's family [ is required ] unless they give [ up their right as ] charity . But if the deceased was from a people at war with you and he was a believer - then [ only ] the freeing of a believing slave ; and if he was from a people with whom you have a treaty - then a compensation payment presented to his family and the freeing of a believing slave .