Allah, The Glorious is everywhere and He sees everything every moment as we believe and read in Quran (He is with you where you may be) Sura 57, Verse 4.
'The Prophet Muhammad and his successors are granted knowledge by Allah as and when Allah wants. Their knowledge is gifted to them by Allah. Allah's knowledge is His own and never given to Him.
Infallible Imams are the most humble servants of Allah after the Prophet (SAWA).