Sahih Muslim Book 42, Hadith Number 7079.

Chapter : Not known.
Anas b. Malik reported: We were in the company of Allah’s Messenger (way peace be upon him) that he smiled and said: Do you know why I laughed? We said: Allah and His Messenger, know best. Thereupon he said: It was because of the (fact that there came to my mind the) talk which the servant would have with his Lord. (on the Day of judgment).He would say: My Lord, have you not guaranteed me protection against injustice? He would say: Yes. Then the servant would say: I do not deem valid any witness against me but my own self, and He would say: Well, enough would he the witness of your self against you and that of the two angels who had been appointed to record your deeds. Then the seal would be set upon his mouth and it would be said to his hands and feet to speak and they would speak of his deeds. Then the mouth would be made free to talk, he would say (to the bands and feet): Be away, let there be curse of Allah upon you. It was for your safety that I contended.