Anas ibn Malik reported: The Messenger of Allah, peace and blessings be upon him, said, “Good works done for people protect those who did them from evil fates, harm, and destruction. The people of goodness in the world will be the people of goodness in the Hereafter.”
Source: Shu’ab al-Imān 7704
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَنَسِ بْنِ مَالِكٍ رَضِيَ اللهُ عَنْهُ قَالَ قَالَ رَسُولُ اللهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ صَنَائِعُ الْمَعْرُوفِ إِلَى النَّاسِ تَقِي صَاحِبَهَا مَصَارِعَ السُّوءِ وَالآفَاتِ وَالْهَلَكَاتِ وَأَهْلُ الْمَعْرُوفِ فِي الدُّنْيَا هُمْ أَهْلُ الْمَعْرُوفِ فِي الْآخِرَةِ
7704 شعب الإيمان حسن الخلق فصل في طلاقة الوجه وحسن البشر لمن يلقاه من المسلمين
3795 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع