Verify, all things have we created in proportion and measure. (Qur’an 54:49)
Muslims believe in the timeless knowledge of Allah, and His ability to plan and execute His plans. Divine Destiny is the belief that everything in the universe, including human life, operates according to the Will and Plan of Almighty Allah.
Muslims believe that humans are given "free will", or the ability to choose between good and evil. Accordingly, Allah holds humans responsible for the choices they make with the free will. On the Day of Judgment, each human will be judged on his or her choices in life.
Yet, there are certain things that humans have no choice about, such as their gender, where and when they are born, who their parents are, when they will die, and their ethnicity. Accordingly, humans will not be held responsible for these things on the Day of Judgment.