Sunan Ibn Majah
91
Sahih+2

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

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi