Destiny is part of Allah's perfect Creation and all events, past and future, are known to Him as in a timeless "single moment."
It is Allah Who created matter. What we call time is the motion of matter. Time is a dimension which is relative only to man. Only man perceives the passage of time; a human being can recognize his own existence only as it exists in time. Allah, however, is not bound by time, for it is He Who created it. In other words, Allah is independent of the flow of time; Allah does not need to wait to see what will happen in the future. Allah is truly exalted above all such deficiencies. Allah knows of a future event (future for us) before it happens, because Allah, the First and the Last, is not bound by time, and because He is the Absolute and the Infinite. Not bound by time, Allah is aware of an event which, from our perspective, will take place thousands of years later. In fact, it is He Who willed, determined and created it. This truth is revealed in a verse as follows: