Allah سبحانه وتعالى says in the Holy Qur’an:
أَلاَ بِذِكْرِ اللّهِ تَطْمَئِنُّ الْقُلُوبُ
A person should strive to remember Allah سبحانه وتعالى in every situation, whether in public or in private. One way to achieve this is to recite the sunnah du’as (supplications) prescribed by Rasulullah صلى الله عليه وسلم for every occasion. By being constant in this action, the remembrance of Allah سبحانه وتعالى will come automatically.
A person on the path of ihsaan should remain focussed and not allow himself to become distracted from the goal. Stray thoughts can be insinuated by one’s nafs as well as shaytaan and a person should strive to purify his heart and mind from such thoughts. The thoughts of the nafs are weaker than those of shaytaan; whereas the nafs invites to love of the world and laxity in worship, shaytaan invites to things far worse like lust, desire and evil. Through the nur (light) of the remembrance of Allah سبحانه وتعالى and worship, shaytaan is distanced. The nafs however remains, but Allah سبحانه وتعالى can grant tawfeeq ( ability) for even the thoughts of the nafs to go.
[This short excerpt is based on a brothers' majlis (gathering for spiritual training) held by Shaykh Abu Yusuf Riyadh ul Haq on 8th April 2000 and 12th April 2000]