Sharia
These acts have "material or moral" provisions in the understanding of Sharia. The abandonment of the actions "that are considered fard, wajib and sunnah", and doing the forbidden ones "that are considered makruh and haram" are penalized. (hadd or tazir punishments). E.g.; Beating, imprisoning and killing those who insist on not praying can be considered in this context.