Can someone do an action that Allah does not know will happen?
Creed & BeliefQ&A answerQ&AFaith IQ24 Sept 2017fhCrFrU4OGMThe video starts at 00:00, where this question begins.
The answer
The short answer to that is obviously no. Allah's knowledge is complete, Allah's knowledge is absolute; it is shamil. There is nothing that happens without Allah's knowledge. To claim that you can, astaghfirullah, outwit Allah is essentially negating Allah's power of being a Rabb.
So no, nothing happens except with Allah's knowledge. Allah knows the past, Allah knows the present, Allah knows the future, Allah knows the impossible: if it were to become possible, what would happen. There is no being who is unconditionally knowledgeable other than Allah subhanahu wa ta'ala.
An edited transcript of the video, lightly cleaned up for reading. The video is the source; if the text and the video differ, the video is correct.
Related questions
If Allah has decreed everything, do we really have free will?
How do we reconcile free will with Allah guiding whom He wills?
Do humans have free will, or are we compelled, if Allah has already written everything?
How should we understand the hadith "Do not curse time, for Allah is time"?
How does belief in qadr bring comfort after a tragedy?
What is the difference between Allah's qada and qadr?
Is it shirk to say "good luck", and is there such a thing as luck?
Was the Muslims' setback at Uhud part of divine decree, and were the archers who disobeyed forgiven?