وَعَلَّمَ ءَادَمَ ٱلْأَسْمَآءَ كُلَّهَا ثُمَّ عَرَضَهُمْ عَلَى ٱلْمَلَٰٓئِكَةِ فَقَالَ أَنۢبِـُٔونِى بِأَسْمَآءِ هَٰٓؤُلَآءِ إِن كُنتُمْ صَٰدِقِينَ
And He taught Adam the names - all of them. Then He showed them to the angels and said, "Inform Me of the names of these, if you are truthful."
And He taught Adam all the names (of everything), then He showed them to the angels and said, "Tell Me the names of these if you are truthful. (31)They (angels) said: "Glory is to You, we have no knowledge except what you have taught us. Verily, You are the Knower, the Wise. (32)He said: "O Adam! Inform them of their names," and when he had informed them of their names, He said: "Did I not tell you that I know the Ghayb (unseen) in the heavens and the earth, and I know what you reveal and what you have been concealing? (33)
The Virtue of Adam over the Angels
Allah stated the virtue of Adam above the angels, because He taught Adam, rather than them, the names of everything. This occurred after they prostrated to him. This discussion precedes that event here, only to show the importance of his position, and the absence of the angels' knowledge about creating the Khalifah when they asked about it. So Allah informed the angels that He knows what they do not know, and then He mentioned this to show them Adam's superiority over them in knowledge. Allah said,
وَعَلَّمَ ءَادَمَ الأَسْمَآءَ كُلَّهَا
(And He taught Adam all the names (of everything)).
Ad-Dahhak said that Ibn 'Abbas commented on the Ayah;
وَعَلَّمَ ءَادَمَ الأَسْمَآءَ كُلَّهَا
(And He taught Adam all the names (of everything)) "Meaning, the names that people use, such as human, animal, sky, earth, land, sea, horse, donkey, and so forth, including the names of the other species." Ibn Abi Hatim and Ibn Jarir reported that 'Asim bin Kulayb narrated from Sa'id bin Ma'bad that Ibn 'Abbas was questioned,
وَعَلَّمَ ءَادَمَ الأَسْمَآءَ كُلَّهَا
(And He taught Adam all the names (of everything)) "Did Allah teach him the names of the plate and the pot?" He said, "Yes, and even the terms for breaking wind!"
Allah taught Adam the names of everything, their proper names, the names of their characteristics, and what they do, just as Ibn 'Abbas stated about the terms for passing gas.
In his Sahih, Al-Bukhari explained this Ayah in the Book of Tafsir with a report from Anas bin Malik who said that the Messenger of Allah ﷺ said,
يَجْتَمِعُ الْمُؤمِنُونَ يَوْمَ الْقِيَامَةِ فَيَقُولُونَ: لَوِ اسْتَشْفَعْنَا إِلَى رَبِّنَا فَيَأْتُونَ آدَمَ فَيَقُولُونَ: أَنْتَ أَبُو النَّاسِ خَلَقَكَ اللهُ بِيَدِهِ وَأَسْجَدَ لَكَ مَلَائِكَتَهُ وَعَلَّمَكَ أَسْمَاءَ كُلِّ شَيْءٍ، فَاشْفَعْ لَنَا عِنْدَ رَبِّكَ حَتَّى يُريحَنَا مِنْ مَكَانِنَا هَذا، فَيَقُولُ: لَسْتُ هُنَاكُمْ - وَيَذْكُرُ ذَنْبَهُ فَيَسْتَحْيِي - ائْتُوا نُوحًا فإِنَّهُ أَوَّلُ رَسُولٍ بَعَثَهُ اللهُ إِلَى أَهْلِ الْأَرْضِ، فَيَأْتُونَه، فَيَقُولُ: لَسْتُ هُناكُمْ - وَيَذْكُر سُؤَالَه رَبَّه مَا لَيْسَ لَهُ بِه عِلْم فَيَسْتَحْيِي - فَيَقُولُ: ائْتُوا خَلِيلَ الرَّحْمٰن فَيَأْتُونَهُ فَيقُولُ: لَسْتُ هُنَاكُمْ فَيَقُولُ: ائْتُوا مُوسَى عَبْدًا كَلَّمَهُ اللهُ وَأعْطَاهُ التَّوْرَاةَ، فَيقُولُ: لَسْتُ هُنَاكُم - فَيَذْكُرُ قَتْلَ النَّفْسِ بِغَيْرِ نَفْسٍ فَيَسْتَحْيِي مِنْ رَبِّهِ فَيَقُولُ: ائْتُوا عِيسى عَبْدَ اللهِ وَرَسُولَهُ وَكَلِمَةَ اللهِ ورُوحَهُ، فَيَأْتُونَهُ فَيَقُولُ: لَسْتُ هُنَاكُمْ ائْتُوا مُحَمَّدًا عَبْدًا غُفِرَ لَهُ مَا تَقَدَّم مِنْ ذَنْبِهِ وَمَا تَأَخَّرَ، فَيَأْتُونِّي فأَنْطَلِقُ حَتَّى أَسْتأذِنَ عَلَى رَبِّي …