Sahih Muslim Book 4, Hadith Number 971.

Chapter : Moderation in the articles of prayers and their shortening and perfection.

‘Abdullah b. ‘Abbas reported: The Messenger of Allah (may peace be upon him) drew aside the curtain and his head was bandaged on account of illness in which he died. He said: O Allah, have I not delivered (Thy Message)? (He repeated it) three times. Nothing has been left out of the glad tidings of apostlebood, but good vision, which a pious servant (of Allah) sees or someone else is made to see for him. He then narrated like the Hadith transmitted by Sufyan.