Sunan Ibn Majah, Book 1, Hadith 96 (In-Book)

It was narrated that Suraqah bin Ju'shum said: "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.'"

حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا عَطَاءُ بْنُ مُسْلِمٍ الْخَفَّافُ، حَدَّثَنَا الأَعْمَشُ، عَنْ مُجَاهِدٍ، عَنْ سُرَاقَةَ بْنِ جُعْشُمٍ، قَالَ قُلْتُ يَا رَسُولَ اللَّهِ الْعَمَلُ فِيمَا جَفَّ بِهِ الْقَلَمُ وَجَرَتْ بِهِ الْمَقَادِيرُ أَوْ فِي أَمْرٍ مُسْتَقْبَلٍ قَالَ ‏ "‏ بَلْ فِيمَا جَفَّ بِهِ الْقَلَمُ وَجَرَتْ بِهِ الْمَقَادِيرُ وَكُلٌّ مُيَسَّرٌ لِمَا خُلِقَ لَهُ ‏" ‏ ‏.‏

sunnah.com