Ali bin Abu Talib reported,

We were with the Prophet ﷺ at a funeral when he began poking the ground with a stick. He said, "There is not one of you whose place in Paradise or in the Fire has not already been determined."They said, "Then shall we not just rely on that?"He replied, "Keep working, for everyone is made easy for what he was created." Then he recited, "As for the one who gives and is mindful of God..." [Layl 92:5].

Bukhari 6217

Sahih

حدثنا محمد بن بشار حدثنا ابن أبي عدي عن شعبة عن سليمان ومنصور عن سعد بن عبيدة عن أبي عبد الرحمن السلمي

عن علي رضي الله عنه قال

كنا مع النبي ﷺ في جنازة فجعل ينكت الأرض بعود فقال ليس منكم من أحد إلا وقد فرغ من مقعده من الجنة والنار فقالوا أفلا نتكل قال اعملوا فكل ميسر {فأما من أعطى واتقى} الآية

البخاري 6217صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Manners
Chapter
A man drawing with his hand on the ground
Numbering
Darussalam 6217
Bukhari 6217