There is nothing and not a single thing that the almighty Allah doesn’t know. He knows all and everything. In the Quran, there are mentions:
“He (Allah) created all things and He is the All-Knower of everything.”-(Quran 6:101).
“Allah is all Knowing and Competent.”-(Quran 16:70).
‘The Prophet said, “My Lord knows whatever is said throughout the heaven and earth, and He is the Hearing, the all Knowing.”-(Quran 21:4).