Narrated Ibn Omar: I heard Allah’s Messenger, peace be upon him, saying that Allah will bring a believer near Him and shelter him with His Screen and ask him: “Did you commit such and such sins?” He will say: “Yes, my Lord.” Allah will keep on asking him till he will confess all his sins and will think that he is ruined. Allah will say, “I did screen your sins in the world and I forgive them for you today.” Then he will be given the book (of record) of his good deeds.
Regarding disbelievers and hypocrites, (their evil acts will be exposed publicly). And the witnesses will say: “And who can be more unjust than the one who ascribes false things to Allah?” Such persons shall be brought before their Lord and the witnesses will say:
“These are the people who ascribed false things to their Lord.” Beware! Allah’s curse rests upon the unjust people. — On those unjust people, who debar others from Allah’s Way and seek to make it crooked, and who disbelieve in the Hereafter.” (Surah Hud 11: 18)
(3: 621- O.B. Sahih Al-Bukhari)