Observe moderation in deeds (and if it is not possible, try to be near moderation) and understand that none amongst you can attain salvation because of his deeds alone. They said: Messenger of Allah, not even you? Thereupon he said: Not even I, but that Allah should wrap me in His Mercy and Grace. (Using translation from Muslim 2816g)
قَالَ رَسُولُ اللَّهِ ﷺ «قَارِبُوا وَسَدِّدُوا وَاعْلَمُوا أَنَّ أَحَدًا مِنْكُمْ لَنْ يُنْجِيَهُ عَمَلُهُ» قَالُوا يَا رَسُولَ اللَّهِ وَلَا أَنْتَ؟ قَالَ «وَلَا أَنَا إِلَّا أَنْ يَتَغَمَّدَنِيَ اللَّهُ بِرَحْمَةٍ مِنْهُ وَفَضْلٍ»