The Cow - 2:255 Allah: There is no god but He, the Living, the Everlasting. He is neither slumbering nor slumbering. To Him belongs whatever is in the heavens and the earth. Who can intercede with Him without His permission? He knows their past and their future. They cannot comprehend anything of His knowledge except as He wills. His sovereignty covers the heavens and the earth. He does not tire Him to guard them. He is the Exalted, the Great.
Those in the heavens and the earth have knowledge as Allah wills:
The Cow/2:31 "He taught Adam all the names (attributes), then He presented them to the angels and said: "Tell me the names (attributes) of these, if you are truthful"."
The Cow/2:32 "They said: "You are the Almighty, we have no knowledge except what You have taught us. You are the Knower, the Wise."