Iman is in our heart, Islam is in our actions and ihsan is in our imagination. Combine them all and we are good to go. But it's easier said than done. Trying and keep trying is the only way forward.
Most of us are too preoccupied in our prayers with random thoughts to even be able to remember the number of rak'ahs. The hadith gives us two kinds of imagination that we can try to gain and retain focus while doing any good deed.
1. To imagine that we are seeing Him. (harder)
2. To imagine that He is seeing us. (easier)
While you are reading it, hold on a second and imagine Him seeing you. And not just seeing you physically but also seeing your thoughts and feelings, fears and hopes. Do you feel a quick, fleeting connection?
Let's practice this imagination more often. Studying, working, driving, cooking, cleaning etc. Because worship isn't just limited to praying namaz. Every thing we do is worship if done with the right intention and in the right way. Stay connected.
Narrated Abu Huraira: One day while Allah's Messenger (ﷺ) was sitting with the people, a man came to him walking and said, "O Allah's Messenger (ﷺ). What is Belief?" The Prophet (ﷺ) said, "Belief is to believe in Allah, His Angels, His Books, His Apostles, and the meeting with Him, and to believe in the Resurrection." The man asked, "O Allah's Messenger (ﷺ) What is Islam?" The Prophet (ﷺ) replied, "Islam is to worship Allah and not worship anything besides Him, to offer prayers perfectly, to pay the (compulsory) charity i.e. Zakat and to fast the month of Ramadan." The man again asked, "O Allah's Messenger (ﷺ) What is Ihsan (i.e. perfection or Benevolence)?" The Prophet (ﷺ) said, "Ihsan is to worship Allah as if you see Him, and if you do not achieve this state of devotion, then (take it for granted that) Allah sees you." ( Sahih al-Bukhari 4777)
عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ يَوْمًا بَارِزًا لِلنَّاسِ إِذْ أَتَاهُ رَجُلٌ يَمْشِي فَقَالَ يَا رَسُولَ اللَّهِ مَا الإِيمَانُ قَالَ " الإِيمَانُ أَنْ تُؤْمِنَ بِاللَّهِ وَمَلاَئِكَتِهِ وَرُسُلِهِ وَلِقَائِهِ وَتُؤْمِنَ بِالْبَعْثِ الآخِرِ ". قَالَ يَا رَسُولَ اللَّهِ مَا الإِسْلاَمُ قَالَ " الإِسْلاَمُ أَنْ تَعْبُدَ اللَّهَ وَلاَ تُشْرِكَ بِهِ شَيْئًا، وَتُقِيمَ الصَّلاَةَ، وَتُؤْتِيَ الزَّكَاةَ الْمَفْرُوضَةَ، وَتَصُومَ رَمَضَانَ ". قَالَ يَا رَسُولَ اللَّهِ، مَا الإِحْسَانُ قَالَ " الإِحْسَانُ أَنْ تَعْبُدَ اللَّهَ كَأَنَّكَ تَرَاهُ، فَإِنْ لَمْ تَكُنْ تَرَاهُ فَإِنَّهُ يَرَاكَ ".