Sahih Bukhari | Volume 8 | Hadith Number 427

Narrated by Anas bin Malik
The Prophet drew a few lines and said, "This is (man's) hope, and this is the instant of his death, and while he is in this state (of hope), the nearer line (death) comes to Him."