A deliberate murder is subject to retaliation in kind, the killer must be sentenced.
But, whoever kills someone by mistake and causes accidental death must pay compensation to family of the killed person. At the time of Muhammad, the indemnity was one hundred camels. Muhammad told his people that whoever asks for more than this figure is a person of the Era of Ignorance