Praise be to Allaah.
Push away the worldly thoughts that come to you whilst praying as much as you can, and listen to the imaam’s recitation and ponder the meanings of what he is reciting, so that you may benefit from it, avoid letting your thoughts wander and ward off the insinuating whispers of the Shaytaan. Recite al-Faatihah in both the silent and loud prayers (where the recitation is done silently or out loud), and recite another soorah or passage of the Qur’aan in the silent prayer, focusing on the meaning of the words. Perhaps by this means Allaah will help you to focus your mind and overcome this lack of concentration. It is also prescribed for you to seek refuge with Allaah from the accursed Shaytaan when you face too many insinuating whispers.
And Allaah is the source of strength. May Allaah bless our Prophet Muhammad and his family and companions, and grant them peace.