Hadith on Akhirah: Take care of your Hereafter, Allah takes care of the rest

Zayd ibn Thabit reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever makes the world his most important matter, Allah will confound his affairs and make poverty appear before his eyes and he will not get anything from the world but what has been decreed for him. Whoever makes the Hereafter his most important matter, Allah will settle his affairs and make him content in his heart and the world will come to him although he does not want it.”

Source: Sunan Ibn Mājah 4105

Grade: Sahih (authentic) according to Al-Albani

عن زيد بن ثابت قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ كَانَتْ الدُّنْيَا هَمَّهُ فَرَّقَ اللَّهُ عَلَيْهِ أَمْرَهُ وَجَعَلَ فَقْرَهُ بَيْنَ عَيْنَيْهِ وَلَمْ يَأْتِهِ مِنْ الدُّنْيَا إِلَّا مَا كُتِبَ لَهُ وَمَنْ كَانَتْ الْآخِرَةُ نِيَّتَهُ جَمَعَ اللَّهُ لَهُ أَمْرَهُ وَجَعَلَ غِنَاهُ فِي قَلْبِهِ وَأَتَتْهُ الدُّنْيَا وَهِيَ رَاغِمَةٌ

4105 سنن ابن ماجه كتاب الزهد باب الهم بالدنيا

3329 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح ابن ماجه