Narrated `Ali: We were with the Prophet (ﷺ) in a funeral procession, and he started scraping the ground with a small stick and said, "There is none amongst you but has been assigned a place (either) in Paradise and (or) in the Hell-Fire." The people said (to him), "Should we not depend upon it?" He said: carry on doing (good) deeds, for everybody will find easy such deeds as will lead him to his destined place. He then recited: "As for him who gives (in charity) and keeps his duty to Allah"
Book 78 · Hadith 241