Sahih al-Bukhari 4945
Narrated `Ali:
We were in the company of the Prophet (ﷺ) in a funeral procession at Baqi Al-Gharqad. He said, "There is 
none of you but has his place written for him in Paradise or in the Hell- Fire." They said, "O Allah's 
Apostle! Shall we depend (on this fact and give up work)?" He said, "Carry on doing (good deeds), for 
every body will find it easy to do (what will lead him to his destined place)." Then he recited: 
'As for him who gives (in charity) and keeps his duty to Allah, and believes in the Best reward from 
Allah (i.e. Allah will compensate him for what he will spend in Allah's way). So, We will make 
smooth for him the path of ease. But he who is a greedy miser....for him, the path for evil.' (92.5-10)
حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا سُفْيَانُ، عَنِ الأَعْمَشِ، عَنْ سَعْدِ بْنِ عُبَيْدَةَ، عَنْ أَبِي عَبْدِ الرَّحْمَنِ السُّلَمِيِّ، عَنْ عَلِيٍّ ـ رضى الله عنه ـ قَالَ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم فِي بَقِيعِ الْغَرْقَدِ فِي جَنَازَةٍ فَقَالَ ‏"‏ مَا مِنْكُمْ مِنْ أَحَدٍ إِلاَّ وَقَدْ كُتِبَ مَقْعَدُهُ مِنَ الْجَنَّةِ وَمَقْعَدُهُ مِنَ النَّارِ ‏"‏‏.‏ فَقَالُوا يَا رَسُولَ اللَّهِ أَفَلاَ نَتَّكِلُ فَقَالَ ‏"‏ اعْمَلُوا فَكُلٌّ مُيَسَّرٌ ‏"‏‏.‏ ثُمَّ قَرَأَ ‏{‏فَأَمَّا مَنْ أَعْطَى وَاتَّقَى * وَصَدَّقَ بِالْحُسْنَى‏}‏ إِلَى قَوْلِهِ ‏{‏لِلْعُسْرَى‏}‏