Punishment in Islamic philosophy is the torment faced by humans or other creatures created by Allah. Punishment is the result of mistakes that have been or are being made. In the perspective of sunnatullah, justice will lead to prosperity, whoever does it.