And We have created man and We know what his soul (mind) whispers to him, and We are nearer to him than his life vein,
Allah (SWT) informs man that He knows everything he thinks, imagines, feels, plans etc. and all his actions are recorded, a duplicate of which may be on his memory itself, therefore he cannot escape accountability.