Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:33:29

But if you should desire Allah and His Messenger and the home of the Hereafter - then indeed, Allah has prepared for the doers of good among you a great reward."  

But if you desire God and His Messenger and the Abode of the Hereafter, namely, Paradise, then God has indeed prepared for the virtuous among you, ˹virtuous for˺ desiring the Hereafter, a great reward’, namely, Paradise: so choose the Hereafter over ˹the life of˺ this world.
القرآن:٣٣:٢٩

وَإِنْ كُنْتُنَّ تُرِدْنَ اللَّهَ وَرَسُولَهُ وَالدَّارَ الْآخِرَةَ فَإِنَّ اللَّهَ أَعَدَّ لِلْمُحْسِنَاتِ مِنْكُنَّ أَجْرًا عَظِيمًا  

{وإن كنتنَّ تردن الله ورسوله والدار الآخرة} أي الجنة {فإن الله أعد للمحسنات منكن} بإرادة الآخرة {أجرا عظيما} أي الجنة: فاخترن الآخرة على الدنيا.