Sahih al-Bukhari 4945
4661 حدثنا أبو نعيم حدثنا سفيان عن الأعمش عن سعد بن عبيدة عن أبي عبد الرحمن السلمي عن علي رضي الله عنه قال كنا مع النبي صلى الله عليه وسلم في بقيع الغرقد في جنازة فقال ما منكم من أحد إلا وقد كتب مقعده من الجنة ومقعده من النار فقالوا يا رسول الله أفلا نتكل فقال اعملوا فكل ميسر ثم قرأ فأما من أعطى واتقى وصدق بالحسنى إلى قوله للعسرى \ 1 \
4661 Abu Nu'aym related to us, Sufyan related to us, from al-A'mash, from Sa'd ibn Ubayda, from Abu Abd al-Rahman al-Sulami, from Ali, may Allah be pleased with him, who said: We were with the Prophet ﷺ at Baqi' al-Gharqad at a funeral, and he said: There is none among you but that his seat in Paradise and his seat in the Fire have been written. They said: O Messenger of Allah, should we not then rely on it? He said: Act, for each is made easy. Then he recited: "As for him who gives and fears Allah and believes in the best reward" up to His saying "the hardship".
Indicative translation