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.
ahmad-zuhd:2268ʿAbdullāh > Abū Mūsá al-Anṣārī > al-Walīd b. Muslim > al-Awzāʿī > Bilāl b. Saʿīd

[Machine] I heard Bilal ibn Sa'eed saying, "Indeed, mentioning you (referring to Allah) is your good deeds, and forgetting you is your sins concealed."  

الزهد لأحمد:٢٢٦٨حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنِي أَبُو مُوسَى الْأَنْصَارِيُّ حَدَّثَنَا الْوَلِيدُ بْنُ مُسْلِمٍ حَدَّثَنَا الْأَوْزَاعِيُّ قَالَ

سَمِعْتُ بِلَالَ بْنَ سَعِيدٍ يَقُولُ «إِنَّ ذِكْرَكَ حَسَنَاتِكَ وَنِسْيَانَكَ سَيِّئَاتِكَ غِرَّةٌ»