Sahih al-Bukhari 4949
صحيح البخاري#4949SahihNarrated `Ali:While the Prophet (ﷺ) was in a funeral procession. he picked up something and started scraping the ground with it, and said, "There is none among you but has his place written for him either in the Hell Fire or in Paradise." They said, "O Allah's Messenger (ﷺ)! Shall we not depend upon what has been written for us and give up deeds? He said, "Carry on doing (good) deeds, for everybody will find easy to do such deeds as will lead him to his destined place for which he has been created. So he who is destined to be among the happy (in the Hereafter), will find it easy to do the deeds characteristic of such people, while he who is destined to be among the miserable ones, will find it easy to do the deeds characteristic of such people." Then he recited: 'As for him who gives (in charity) and fears Allah, and believes in the best
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: 65:471