Sahih Muslim , Book 39, Hadith 6763 (USC-MSA) ⓘ
Abu Huraira reported Allah's Messenger as saying: There is none whose deeds alone can'secure salvation for him. They said: Allah's Messenger, not even you? Thereupon he said: Not even I, but that, the Mercy of Allah should take hold of me.
حَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا جَرِيرٌ، عَنْ سُهَيْلٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " لَيْسَ أَحَدٌ يُنْجِيهِ عَمَلُهُ " . قَالُوا وَلاَ أَنْتَ يَا رَسُولَ اللَّهِ قَالَ " وَلاَ أَنَا إِلاَّ أَنْ يَتَدَارَكَنِيَ اللَّهُ مِنْهُ بِرَحْمَةٍ " .
also referenced under: Book 52, Hadith 68 (In-Book) & Hadith 2816 (Reference)