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)
عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ قَالَ لَنْ يُنْجِيَأَحَدًا مِنْكُمْ عَمَلُهُ فَقَالَ رَجُلٌ وَلَا أَنْتَ يَا رَسُولَ اللهِ؟ فَقَالَ وَلَا أَنَا إِلَّا أَنْ يَتَغَمَّدَنِي اللهُ بِرَحْمَتِهِ وَلَكِنْ سَدِّدُوا