allah replied i know what you do not know. after this he taught adam the names of all things. then he set these before the angels and asked tell me the names of these things if you are right .
وعلم آدم الأسماء كلها ثم عرضهم على الملائكة فقال أنبئوني بأسماء هؤلاء إن كنتم صادقين