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.