Hadith on Salvation: Fear of Allah, justice, moderation are salvific virtues

Anas ibn Malik reported: The Prophet, peace and blessings be upon him, said, “Three are destructive vices: greed that is obeyed, whims that are followed, and a man impressed with himself. Three are salvific virtues: justice in a time of pleasure or anger, moderation in a time of wealth or poverty, and the fear of Allah in public and in private.

Source: al-Mu’jam al-Awsaṭ 5598

Grade: Hasan li ghayrihi (fair due to external evidence) according to Al-Albani

عَنْ أَنَسِ بْنِ مَالِكٍ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ثَلاثٌ مُهْلِكَاتٌ شُحٌّ مُطَاعٌ وَهَوًى مُتَّبَعٌ وَإِعْجَابُ الْمَرْءِ بِنَفْسِهِ مِنَ الْخُيَلاءِ وَثَلاثٌ مُنْجِيَاتٌ الْعَدْلُ فِي الرِّضَا وَالْغَضَبِ وَالْقَصْدُ فِي الْغِنَى وَالْفَاقَةِ وَمَخَافَةُ اللَّهِ فِي السِّرِّ وَالْعَلانِيَةِ

5598 المعجم الأوسط للطبراني باب الميم من اسمه محمد

453 المحدث الألباني خلاصة حكم المحدث حسن لغيره في صحيح الترغيب