Sahih al-Bukhari 7552
صحيح البخاري#7552SahihNarrated `Ali:While the Prophet (ﷺ) was in a funeral procession, he took a stick and started scraping the earth with it and said, "There is none of you but has his place assigned either in Hell or in Paradise." They (the people) said, "Shall we not depend upon that (and give up doing any deeds)?' He said, " Carry on doing (good deeds) for everybody will find it easy to do such deeds as will lead him to his destined place for which he has been created ." (And then the Prophet (ﷺ) recited the Verse):-- 'As for him who gives (in charity) and keeps his duty to Allah
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 97:177