Sura Al-Baqara

2:31

وَعَلَّمَ ءَادَمَ ٱلْأَسْمَآءَ كُلَّهَا ثُمَّ عَرَضَهُمْ عَلَى ٱلْمَلَٰٓئِكَةِ فَقَالَ أَنۢبِـُٔونِى بِأَسْمَآءِ هَٰٓؤُلَآءِ إِن كُنتُمْ صَٰدِقِينَ

Och Han gav Adam kunskap om alla tings namn; sedan visade Han dem för änglarna och sade: "Nämn deras namn för Mig, om det är så som ni har sagt."

Tafsir 2:31

To reveal the position of Adam, Allah taught him the names of everything, living things and objects, their pronunciation and meanings. Then he put them before the angels, instructing them to tell Him the names if they were telling the truth when they said that they were a nobler and better creation than Adam.