Salaam Emil,
sorry for the slow reply, Religions pervert the purpose of law, in the modern age the courts base their verdicts upon punishment, this is not lawful, and not the purpose of a court of law.
Punishment resolves nothing, it generates ill will, hatred, revenge, and twists the law into a contest.
The Islamic concept and the natural law concept is not based upon punishment at all but upon remedy, in the modern system the victim is left without any remedy they are given what solace they can from knowing the convicted suffers some punishment; financial, custodial or social, with the victim or their family left with no remedy and no resource for remedy.