"I said: 'O Messenger of Allah ﷺ, is one's deed in that which has already dried of the Pen and what has passed of the Divine Decree, or is it in the future?' He said: 'No, it is in that which he already dried of the Pen and what has passed of the Divine Decree, and each person is facilitated for what he has been created.'" (Using translation from Ibn Mājah 91)
قُلْتُ يَا رَسُولَ اللهِ أَنَعْمَلُ عَلَى مَا قَدْ جَفَّ بِهِ الْقَلَمُ وَجَرَتْ بِهِ الْمَقَادِيرُ أَوْ لِأَمْرٍ مُسْتَقْبَلٍ؟ قَالَ «يَا سُرَاقَةُ اعْمَلْ لِمَا جَفَّ بِهِ الْقَلَمُ وَجَرَتْ بِهِ الْمَقَادِيرُ فَإِنَّ كَلًّا مُيَسَّرٌ»