The Prophet ﷺ planted a stick in the ground before him, then planted another beside it, then planted a third one farther away. He then asked, "Do you know what this represents?"They replied, "Allah and His Messenger know best."He said, "This is man, this is his appointed time of death, and that one farther out is his hope. He keeps reaching for his hope, but his appointed time snatches him away before he can attain it."
حدثنا عبد الملك بن عمرو حدثنا علي بن علي عن أبي المتوكل
أن النبي ﷺ غرز بين يديه غرزا ثم غرز إلى جنبه آخر ثم غرز الثالث فأبعده ثم قال هل تدرون ما هذا قالوا الله ورسوله أعلم قال هذا الإنسان وهذا أجله وهذا أمله يتعاطى الأمل والأجل يختلجه دون ذلك
Its isnad is hasan, because of Ali bin Ali bin Najad, who is truthful though Abu Hatim criticized him, and Abu Mutawakkil Ali bin Dawud is trustworthy as mentioned before, and Abdul-Malik bin Amr Abu Amir Aqadi is trustworthy. The hadith with similar wording is found in Bukhari, 11/235, no. 6417, Fath, and it has been mentioned before.