Sahih Muslim Book 39, Hadith Number 6763.
Chapter : None would attain salvation because of his deeds but it is through Lord’s Mercy (that he would attain that).
Abu Huraira reported Allah’s Messenger (may peace be upon him) 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.