Certain actions do not directy fall under riyâ' but are the preliminary steps leading to it. They are like signs. warning of the impending arrival of riyâ'. If a person finds himself involved in any of these actions, he should honestly question his motives in doing them in order to avoid actually falling into riyâ'.
PURIFICATION OF THE SOUL
HADITH AND SUNNAH
THEOLOGY AND RULINGS
Ibn Taymiyyah's fatwa about the language of the hereafter
The correct understanding of the verse is that the prayer has two major purposes, one greater than the other: prayer restrains from shameful and unjust deeds and contains the remembrance of God Most High; the remembrance of God contained in the prayer is [something] greater than the restraint from shameful deeds and injustice.