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.'"
English reference: Vol. 1, Book 1, Hadith 91
Arabic reference: Book 1, Hadith 96