Abud Darda’ told that he heard God’s Messenger say, “No one will suffer any bodily injury and forgive it* without God raising him a degree for it and removing a sin from him.”
Sa'id b. al-Musayyib told that ‘Umar b. al-Khattab killed five or seven people for one man whom they had killed treacherously, ‘Umar saying. “If the people of San'a’ had conspired against him I would have killed them all.”
Malik transmitted it, and Bukhari transmitted something similar on the authority of Ibn ‘Umar.
Ta’us, on the authority of Ibn ‘Abbas, reported God’s Messenger as saying, “If anyone is killed in error when people are throwing stones, or by beating with whips, or striking with a stick, it is accidental and the compensation for accidental death is due.* But if anyone kills someone deliberately retaliation is due, and if anyone tries to prevent it God’s curse and anger will rest on him, and neither supererogatory nor obligatory acts will be accepted from him.”
Abu Dawud and Nasa’i transmitted it.
*These are instances in which the actual person who killed him is not clearly known, or where there was no intention to kill.