Predestination in Islam
Qadar is the concept of divine destiny in Islam. As God is all-knowing and all-powerful, everything that has happened and will happen in the universe is already known. At the same time, human beings are responsible for their actions, and will be rewarded or punished accordingly on Judgement Day.
Read on Wikipedia