O dear one!
When the lightnings of direct witnessing flash from the clouds of the emanation of:
Allah guides to His Light whom He wills, (24.35)
—and the winds of the union of love blow from the windward of the care of:
He chooses for His mercy whom He wills, (2.105)
—the fragrant plants of close rapport will flower in the gardens of the hearts,
The Qur'an describes Allah as having full and perfect knowledge of the past, present, and future. There are also verses that seem to suggest that Allah comes to know about certain things as they happen. The latter talk about the realization in the visible world of God’s foreknowledge, so both sets of verses are totally consistent.