Prayer for example is required of a Muslim five times a day, in which he stands facing the qiblah, then bows and prostrates in devotion to God. If these actions are looked at in view of morals, we discover that the real meaning behind prayer is to train the Muslim on feeling the conscious, loving submission to the will of God, and a reminder of keeping away from evil. Prayer also instills the feeling of humbleness in the heart while standing before God.
A verse in the Qur'an describes this relation between morals and prayer, where it says what means:
This religious duty symbolizes a feeling of love, compassion and mutual concern towards people who are less fortunate in society.
{...and establish regular Prayer: for Prayer restrains from shameful and unjust deeds; and remembrance of Allah is the greatest (thing in life) without doubt. And Allah knows the (deeds) that ye do.}(Al‐ `Ankabut 29:45).