Sahih al-Bukhari 4949
Adam (bin Abi Iyas) narrated to us that Shu'bah told us. He narrated from A'mash. He said: I heard Sa'd bin Ubaidah. He narrated from Abu Abdur Rahman Sulami; he used to narrate from Hazrat Ali (ra). He said: The Prophet (saw) was at a funeral. He took something and began to scratch the ground with it, and he said: “There is none among you whose abode has not been written in the Fire or whose abode has not been written in Paradise.” The Companions said: O Messenger of Allah (saw)! Should we not rely on this writing of ours and give up action? He (saw) said: “Act, for each one will be enabled to do the work for which he was created. Whoever is of the people of felicity will be enabled to do the work of the people of felicity, and whoever is of the people of wretchedness will be enabled to do the works of the people of wretchedness.” Then he recited these verses, that is: “Then as for him who gives and is righteous, And testifies to the truth of what is right” (Qur’an 92:6-7).
AI-translated by Islam-Today