In Islam, Allah is attributed with absolute omniscience. He knows the past, the present and the future. It is compulsory for a Muslim to believe that Allah is indeed omniscient as stated in one of the six articles of faith which is :
- To believe that Allah’s divine decree and predestination
“Say: Do you instruct Allah about your religion? But Allah knows all that is in the heavens and on the earth; Allah is Knowing of all things”
-Holy Qur'an (49:16)
It is however, believed that human can only change their predestination (wealth, health, deed etc.) and not divine decree (date of birth, date of death, family etc.), thus allowing free wills.