Sahih Bukhari Volume 008, Book 076, Hadith Number 427.

Narated 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."