Safwan bin Mihraz reported,

While I was walking with Ibn Umar رضي الله عنهم, holding his hand, a man approached and asked, "How did you hear the Messenger of Allah ﷺ describe the private conversation between Allah and His servant on the Day of Judgment?"He replied, "I heard the Messenger of Allah ﷺ say, 'Allah will draw the believer near, place His shelter over him, and conceal him. He will say, "Do you recognize this sin? Do you recognize that sin?" The believer will reply, "Yes, my Lord," until, when he has been made to acknowledge all his sins and thinks within himself that he is doomed, Allah will say, "I concealed them for you in the world, and I forgive them for you today." Then he will be given the record of his good deeds. But as for the disbelievers and hypocrites, the witnesses will proclaim, "These are the ones who lied against their Lord. Indeed, the curse of Allah is upon the wrongdoers" [Hud 11:18].'"

Bukhari 2441

Sahih

حدثنا موسى بن إسماعيل حدثنا همام قال أخبرني قتادة

عن صفوان بن محرز المازني قال

بينما أنا أمشي مع ابن عمر رضي الله عنهما آخذ بيده إذ عرض رجل فقال كيف سمعت رسول الله ﷺ يقول في النجوى فقال سمعت رسول الله ﷺ يقول إن الله يدني المؤمن فيضع عليه كنفه ويستره فيقول أتعرف ذنب كذا أتعرف ذنب كذا فيقول نعم أي رب حتى إذا قرره بذنوبه ورأى في نفسه أنه هلك قال سترتها عليك في الدنيا وأنا أغفرها لك اليوم فيعطى كتاب حسناته وأما الكافر والمنافقون فيقول الأشهاد {هؤلاء الذين كذبوا على ربهم ألا لعنة الله على الظالمين}

البخاري 2441صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Injustices
Chapter
Saying of Allah, "Surely the curse of Allah is upon the wrongdoers"
Numbering
Darussalam 2441
Bukhari 2441