´'Asim bin 'Ubaidullah said:` ' I heard Salim bin 'Abdullah narrating a Hadith from his father who said: "'Umar said : "O Messenger of Allah! Do you see that what we do is a new matter- or a matter initiated – or it is a matter already concluded?” He (s.a.w) said: “ O Ibn Al-Khattab! It is a matter already concluded. For everyone is suited (for that for which he is created). As for one who is among the people of happiness, then he works for happiness, and as for the one who is among the people of misery, then he works for his misery.” (Hasan)
Hadith Referenceسنن ترمذي / كتاب القدر عن رسول الله صلى الله عليه وسلم / 2135
´Narrated Ibn 'Umar:` that 'Umar bin Al-Khattab said: "When this Ayah was revealed: Some among them will be wretches and (others) blessed (11:105). I asked the Messenger of Allah (ﷺ) saying: 'O Prophet of Allah! Based upon what are we then working; something that has already finished or something that has not yet happened?' He said: 'Rather something that has happened, and the Pens have already passed over it O 'Umar! But for everyone, what he has been created for is made easy.'"
Shaykh Dr. Abdur Rahman Freywai
Explanation: 1: So among them will be one who is wretched and one who is blessed (Hud: 105)
2: Everything has already been written before our coming into existence—what we will do after being born and to what end we will reach.
3: The righteous are granted the ability (tawfiq) to perform righteous deeds, and the wicked are granted the ability to perform wicked deeds.
Source: Sunan al-Tirmidhi – Majlis ‘Ilmi Dar al-Da‘wah, New Delhi Edition, Page: 3111