Quran 72:28 — The Jinn (Al-Jinn)
لِيَعلَمَ أَن قَد أَبلَغوا رِسٰلٰتِ رَبِّهِم وَأَحاطَ بِما لَدَيهِم وَأَحصىٰ كُلَّ شَيءٍ عَدَدًا
This is to ascertain that they have delivered their Lord's messages. He is fully aware of what they have. He has counted the numbers of all things.
[72:27] Only to a messenger that He chooses, does He reveal from the past and the future, specific news.*