18:91

كَذَٰلِكَ وَقَدْ أَحَطْنَا بِمَا لَدَيْهِ خُبْرًا

Transliteration:

Kathalika waqad ahatna bima ladayhi khubran

Word by Word:

Thus. And verily, We encompassed of what (was) with him (of the) information.

Translations:

thus [We had made them, and thus he left them ; and We did encompass with Our knowledge all that he had in mind

(He left them) as they were: We completely understood what was before him.

So (it was). And We knew all concerning him.

So it was. And We had full knowledge of what he had.

Thus. And We had encompassed [all] that he had in knowledge.