Pearl of Wisdom
was once asked about Allah's knowledge of space [i.e. the concept] and whether He knows it before its coming into existence or during it or after it, to which he replied, most High is Allah! He always knows space before its conception just as He knows it after He has created it, and such is His knowledge of all things like His knowledge of space.'
Imam Ja'far ibn Muhammad al-Sadiq [as]
al-Tawhid, p. 137, no. 9
Receive Qul Updates