If we forget Allah and all that He has enjoined upon us, He will forget us. Don’t we say out of sight, out of mind as well? Therefore, we need to remember Allah every second by thanking Him for all His blessings, and by doing Dhikr (remembrance of Allah) and through supplication and prayer.
And then Allah mentions the two important P’s again: Patience and Prayer- regular practice of which will bring us closer to Allah and make us steadfast in our worship of Allah, the exalted.
To read a lovely article on the importance of Dhikr, click here.
Relevant Translation below:
Ayah 152 and 153 of Surah Al-Baqara of the Holy Quran.
Therefore remember Me, I will remember you. Give thanks to Me, and reject not Me. (152) O ye who believe! Seek help in steadfastness and prayer. Lo! Allah is with the steadfast. (153)