Narrated `Ali:
We were in the company of the Prophet (ﷺ) and he said, "There is none among you but has his place written for him, either in Paradise or in the Hell-Fire." We said, "O Allah's Messenger! Shall we depend (on this fact and give up work)?" He replied, "No! Carry on doing good deeds, for everybody will find easy (to do) such deeds as will lead him to his destined place." Then the Prophet (ﷺ) recited: 'As for him who gives (in charity) and keeps his duty to Allah, and believes in the Best reward. We will make smooth for him the path of ease....the path for evil.' (92.5-10)
Jabir reported that Suriqa b. Malik b. Ju'shuin came and said: Allah's Messenger, explain our religion to us (in a way) as if we have been created just now. Whosoever deeds we do today, is it because of the fact that-the pens have dried (after recording them) and the destitiles have began to operate or these have effects in future? Thereupon he said: The pens have dried tmd destinies have begun to operate. (Suraqa b. Malik) said: If it Is so, then what is the use of doing good deeds? Zuhair said: Then Abu Zubair said something but I could not understand that and I said. What did he say? Thereupon he said: Act, for everyone is facilitated what he intends to do.