Al-Hasan Al-Basri (rahimahullaah) stated about the saying of Allaah [وَمِنۡهُم مَّن يَقُولُ رَبَّنَآ ءَاتِنَا فِى ٱلدُّنۡيَا حَسَنَةً۬ وَفِى ٱلۡأَخِرَةِ حَسَنَةً۬ – And of them there are some who say: “Our Lord! Give us in this world that which is good and in the Hereafter that which is good (2:201]
Good in the worldly life is Knowledge and worship.
Good in the afterlife is Paradise.
Jaami Bayaan Al-Ilm 1/112