Also Salaah, Zakaat, Fasting and Hajj are acts of worship and each of them has good effects in the life of a Muslim.

The prayer is a pillar of the Religion and it prevents a person from lewd and evil acts. It attaches a person to Allaah and if a person strictly observes the five daily prayers in the mosques together with the Muslims, he will strengthen his relationship with Allaah (The Mighty and Majestic), because he remains in a constant state of attachment to Allaah-day and night. He prays the compulsory five daily prayers for the sake of Allaah and also the optional prayers and Allaah will reward him for all those deeds. It also distances him from lewd and evil deeds because whenever he has an urge to disobey Allaah and to do evil deeds, he recalls the reason for performing the prayer and being constant in its performance; (and the reason behind this is that) he performs the prayer out of a desire to receive reward from Allaah and fearing Allaah’s punishment because performance of the prayer prevents him from lewd and evil acts; so he becomes distanced from evil. Allaah (The Mighty and Majestic) said:

[إِنَّ ٱلصَّلَوٰةَ تَنۡهَىٰ عَنِ ٱلۡفَحۡشَآءِ وَٱلۡمُنكَرِ‌ۗ]

”Verily, As-Salat (the prayer) prevents from Al-Fahsha’ (i.e. great sins of every kind, unlawful sexual intercourse, etc.) and Al-Munkar (i.e. disbelief, polytheism, and every kind of evil wicked deed, etc.)” [29:45]


[Abridged and slightly paraphrased. Source: أثر العبادات في حياة المسلمpages: 20-21]