رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الْآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ
” …Our Lord, give us in this world good and in the Hereafter good and protect us from the punishment of the Fire” (Quran 2:201)
This is one of the most common duas that Prophet Muhammad, peace be upon him, would make. Many Muslims also recite this dua daily. Allah, the Glorious, talks about certain people in the Holy Quran that only make dua for good things in this world and neglect to ask for anything for the next world– which is better and longer-lasting than this world.
Then Allah, the Most-Merciful, praises those who ask Him for good in this world– which includes all good aspects of this world that please Allah, including having good health, beneficial knowledge, good family, wealth, etc. They make dua for good in the afterlife, too, asking for Paradise, which would include happiness and safety in the hereafter. There is a good balance between making dua for both worlds. And they ask Allah to save them from the punishment of the afterlife and to avoid anything that could lead them to it. These people do not disbelieve or forget about the punishment of the afterlife for those who commit evil.