Musnad Ahmad 1181
It was narrated from ‘Ali (رضي الله عنه) from the Prophet (ﷺ) that He was at a funeral. He started hitting the ground with a stick and said:
`There is no one among you but Allah has decreed his place in Hell or his place in Paradise.` They said: O Messenger of Allah (ﷺ), shouldn`t we rely on that? He said: `No, rather strive, for each will be enabled to do the appropriate deeds. Then he recited: `As for him who gives (in charity) and keeps his duty to Allah and fears Him, And believes in Al-Husna. We will make smooth for him the path of ease (goodness). But he who is greedy miser and thinks himself self-sufficient. And belies Al-Husna, We will make smooth for him the path for evil” [Al-Lail 92:5-10]. Shu`bah said. Mansoor bin al-Mu`tamir narrated it to me and I did not object to the hadeeth of Sulaiman at all.
Al-Husna: The Best (i.e. either La ilaha illAllah : none has the right to be worshipped but Allah) or a reward from Allah (i.e. Allah will compensate him for what he will spend in Allah`s way or bless him with Paradise) [Footnote from Hilali/Khan Translation of the Meanings]
حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، عَنْ سُلَيْمَانَ، عَنْ سَعْدِ بْنِ عُبَيْدَةَ، عَنْ أَبِي عَبْدِ الرَّحْمَنِ السُّلَمِيِّ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ كَانَ فِي جَنَازَةٍ فَأَخَذَ عُودًا يَنْكُتُ فِي الْأَرْضِ فَقَالَ مَا مِنْكُمْ مِنْ أَحَدٍ إِلَّا قَدْ كُتِبَ مَقْعَدُهُ مِنْ النَّارِ أَوْ مِنْ الْجَنَّةِ قَالُوا يَا رَسُولَ اللَّهِ أَفَلَا نَتَّكِلُ قَالَ اعْمَلُوا فَكُلٌّ مُيَسَّرٌ فَأَمَّا مَنْ أَعْطَى وَاتَّقَى وَصَدَّقَ بِالْحُسْنَى فَسَنُيَسِّرُهُ لِلْيُسْرَى وَأَمَّا مَنْ بَخِلَ وَاسْتَغْنَى وَكَذَّبَ بِالْحُسْنَى فَسَنُيَسِّرُهُ لِلْعُسْرَى قَالَ شُعْبَةُ وَحَدَّثَنِي بِهِ مَنْصُورُ بْنُ الْمُعْتَمِرِ فَلَمْ أُنْكِرْ مِنْ حَدِيثِ سُلَيْمَانَ شَيْئًا‏.‏