Abu Hurayrah (may Allah be pleased with him) reported that they (the Companions) asked the Messenger of Allah: "Will we see our Lord on the Day of Judgment?" He said: "Do you find any difficulty in seeing the sun at noon when there are no clouds?" They said: 'No.' He again said: "Do you find any difficulty in seeing the moon during the fourteenth night when there are no clouds?" They said: 'No.' Thereupon, he said: "By the One in Whose Hand my life is! You will not face any difficulty in seeing your Lord, only as much as you find difficulty in seeing one of them (the sun and moon). Then Allah will meet a slave (on the Day of Judgment) and say: 'O so-and-so, did I not honor you and give you authority and provide you with a spouse and subdue for you horses and camels and afford you an opportunity to rule over your subjects?' He will say: 'Yes.' Allah will say to him: 'Did you not think that you would meet Me?' And he will say: 'No.' Thereupon, He (Allah) will say: 'Well, We forget you as you had forgotten Me.' Then the second person will be brought to meet Allah, and He will say: 'O so-and-so, did I not honor you and give you authority and provide you with a spouse and subdue for you horses and camels and afford you an opportunity to rule over your subjects?' He will say: 'Yes, my Lord.' And He will say: 'Did you not think that you would be meeting Me?' And he will say: 'No.' And then He will say: 'Well, I forget you today as you had forgotten Me.' Then the third one will be brought, and He will say to him as He said before. And he (the third person) will say: 'O my Lord, I believed in You, Your Book, and Your Messenger, and I observed the prayer and fasted and gave charity.' He will speak in good terms like this as he will be able to do so. And He will say: 'Then stay in your place.' It will be said to him: 'Now We will send forth our witnesses to you.' The man will think 'who will bear witness against me?' Then his mouth will be sealed, and his thighs, flesh, and bones will be told to speak. So they will give account of his deeds. This will be done so that he should not be able to make any excuse for himself. That is the hypocrite, who will incur Allah's displeasure."
Authentic hadith -
Narrated by Muslim