Sayyiduna Abu Dharr Ghifari (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) said: "I know the very last person to enter Paradise and the very last person to come out of Hell. A man will be brought forth and it will be said: Take account of his minor sins and leave his major sins. Then he will be asked: Did you do such-and-such on such-and-such a day? Did you do such-and-such on such-and-such a day? He will say: O my Lord! There are some other deeds I did which I do not see here." The narrator says: Then I saw the Prophet Muhammad (peace and blessings be upon him) smiling until his side teeth became visible. The Prophet Muhammad (peace and blessings be upon him) said: It will be said to him: For every sin you have, you will be given a good deed in exchange.
Hadith Referenceصحیح ابن حبان / كتاب إخباره ﷺ عن مناقب الصحابة رجالهم ونسائهم بذكر أسمائهم رضوان الله عليهم أجمعين / 7375
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (3052).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الشيخين