Language:
كتاب الأدب
78  
Good Manners and Form (Al-Adab)
(60)
Chapter: A believer should conceal what sins he may commit
(60)
باب سَتْرِ الْمُؤْمِنِ عَلَى نَفْسِهِ
Sahih al-Bukhari 6070

Narrated Safwan bin Muhriz:

A man asked Ibn `Umar, "What did you hear Allah's Messenger (ﷺ) saying regarding An-Najwa (secret talk between Allah and His believing worshipper on the Day of Judgment)?" He said, "(The Prophet (ﷺ) said), "One of you will come close to his Lord till He will shelter him in His screen and say: Did you commit such-and-such sin? He will say, 'Yes.' Then Allah will say: Did you commit such and such sin? He will say, 'Yes.' So Allah will make him confess (all his sins) and He will say, 'I screened them (your sins) for you in the world, and today I forgive them for you."'

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ قَتَادَةَ، عَنْ صَفْوَانَ بْنِ مُحْرِزٍ، أَنَّ رَجُلاً، سَأَلَ ابْنَ عُمَرَ كَيْفَ سَمِعْتَ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ فِي النَّجْوَى قَالَ ‏ "‏ يَدْنُو أَحَدُكُمْ مِنْ رَبِّهِ حَتَّى يَضَعَ كَنَفَهُ عَلَيْهِ فَيَقُولُ عَمِلْتَ كَذَا وَكَذَا‏.‏ فَيَقُولُ نَعَمْ‏.‏ وَيَقُولُ عَمِلْتَ كَذَا وَكَذَا‏.‏ فَيَقُولُ نَعَمْ‏.‏ فَيُقَرِّرُهُ ثُمَّ يَقُولُ إِنِّي سَتَرْتُ عَلَيْكَ فِي الدُّنْيَا، فَأَنَا أَغْفِرُهَا لَكَ الْيَوْمَ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6070
In-book reference : Book 78, Hadith 100
USC-MSA web (English) reference : Vol. 8, Book 73, Hadith 96
  (deprecated numbering scheme)