Recite what has been revealed to you of the Book the Qur’ān and maintain prayer; truly prayer prohibits lewd acts and indecency defined as such according to the Law. In other words that is its purpose provided that the person adheres to observance of it. And the remembrance of God is surely greater than other acts of obedience and God knows what you do and He will requite you for them.
- 29:4545
اتْلُ مَا أُوحِيَ إِلَيْكَ مِنَ الْكِتَابِ وَأَقِمِ الصَّلَاةَ ۖ إِنَّ الصَّلَاةَ تَنْهَىٰ عَنِ الْفَحْشَاءِ وَالْمُنْكَرِ ۗ وَلَذِكْرُ اللَّهِ أَكْبَرُ ۗ وَاللَّهُ يَعْلَمُ مَا تَصْنَعُونَ
Recite thou that which hath been revealed unto thee of the Book and establish thou the prayer; verily prayer preventeth man from indecency and that which is disreputable: and surely the remembrance of Allah is the greatest. And Allah knoweth that which ye perform.
- common.revelation-Meccan
- common.hizb : 160