Sure Al-Baqara

2:31

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

Und Er lehrte Adam die Namen alle. Hierauf legte Er sie den Engeln vor und sagte: "Teilt Mir deren Namen mit, wenn ihr wahrhaftig seid!"

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.