It is not for a believer to kill another believer, except that it is by error. Whosoever kills a believer in error, let him free a believing slave, and ransom is to be handed to his family, unless they forgo being charitable. If he belonged to a people who are your enemies and is a believer then, the setting free of a believing slave. If he belonged to a people in which there is between you and them a treaty, then a ransom is to be handed to his family and the setting free of a believing slave. But, if he does not find (the means) let him fast two consecutive months in repentance to Allah. And Allah is the Knower, the Wise.