Hadith.5139 - Imam Jafar ibn Muhammad Al-Sadiq عليه السلام said:
"Whoever we strike with a legal punishment (hadd) from the punishments of Allah سبحانه وتعالى and he dies, there is no blood money (diyyah) upon us. But whoever we strike with a legal punishment from the rights of the people and he dies, then his blood money is upon us."