Tawus (may Allah have mercy on him) narrates from the Prophet (peace and blessings be upon him) that he (peace and blessings be upon him) said: "Whoever is killed by mistake, or is struck by an arrow without it being known because of some cover, or is killed while being whipped or struck with a stick, that is accidental killing and there is diyah for it. Whoever kills deliberately, there is retaliation for it. And whoever stands in the way of the prescribed punishments, upon him is the curse of Allah and His wrath, and none of his deeds, whether obligatory or voluntary, will be accepted."
This report is mursal.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 16001