Safwan bin Mihraz reported,

While Ibn Umar was performing tawaf, a man approached him and said, "Abu Abdul-Rahman," or he said, "Ibn Umar, did you hear the Prophet ﷺ speak about the private conversation?"He replied, "I heard the Prophet ﷺ say, 'The believer will be brought near to his Lord.'" Hisham's version says, "The believer will draw near until He places His shelter over him and makes him acknowledge his sins, saying, 'Do you recognize such-and-such a sin?'The believer says, 'I recognize it.'He says, 'My Lord, I recognize it,' twice.Then Allah says, 'I concealed it for you in the world, and I forgive it for you today.' Then the record of his good deeds is rolled up.As for the others," or he said, "the disbelievers, it will be proclaimed before all the witnesses, 'These are the ones who lied against their Lord. Behold, the curse of Allah is upon the wrongdoers' [Hud 11:18]."Shayban reported from Qatada, Safwan narrated to us.

Bukhari 4685

Sahih

حدثنا مسدد حدثنا يزيد بن زريع حدثنا سعيد وهشام قالا حدثنا قتادة

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

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

البخاري 4685صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
His saying, "And the witnesses will say, 'These are the ones who lied against their Lord.' Unquestionably, the curse of Allah is upon the wrongdoers."
Numbering
Darussalam 4685
Bukhari 4685