He said, "O Adam, inform them of their names." And when he had informed them of their names, He said, "Did I not tell you that I know the unseen [aspects] of the heavens and the earth? And I know what you reveal and what you have concealed."
Then Allah told Adam to tell them the names. When Adam told the angels the names of things, as he had been taught, Allah reminded the angels that He had told them that He knew everything hidden in the heavens and the earth, and what they made public and what they said inside of themselves.