Narrated 'Abdullah bin Buraidah:
from his father that the Prophet (ﷺ) said: "Do you know what the parable of this and this is?" - and he tossed two pebbles. They said: "Allah and His Messenger (ﷺ) know better." He said: "This (the farther) one is hope, and this (closer) one is death." (AR)
English reference (AR): Vol. 5, Book 42, Hadith 2870 (AR)
Arabic reference (AR): Book 44, Hadith 3110 (AR)