The third sense concerns whether an act deserves praise or reward, or whether its opposite is connected with blame or punishment under religious law. Duties, sins, obedience and disobedience belong especially to this discussion.
Fasting in Ramadan is not established as worship simply because hunger may have a benefit. Its prescription, timing and conditions are known through legal evidence. Conversely, an act's unpleasantness does not, by itself, make it sinful.
Legal consequence: the Lawgiver's prescription determines a religious duty, its limits, and its relation to reward or penalty.