Surah Al-Baqarah 2:30
وَإِذْ قَالَ رَبُّكَ لِلْمَلَـٰٓئِكَةِ إِنِّى جَاعِلٌ فِى ٱلْأَرْضِ خَلِيفَةً ۖ قَالُوٓا۟ أَتَجْعَلُ فِيهَا مَن يُفْسِدُ فِيهَا وَيَسْفِكُ ٱلدِّمَآءَ وَنَحْنُ نُسَبِّحُ بِحَمْدِكَ وَنُقَدِّسُ لَكَ ۖ قَالَ إِنِّىٓ أَعْلَمُ مَا لَا تَعْلَمُونَ
And [mention, O Muḥammad], when your Lord said to the angels, "Indeed, I will make upon the earth a successive authority." They said, "Will You place upon it one who causes corruption therein and sheds blood, while we exalt You with praise and declare Your perfection?" He [Allāh] said, "Indeed, I know that which you do not know."
Translation: Saheeh International
Tafsir
And mention O Muhammad (s) when your Lord said to the angels ‘I am appointing on earth a vicegerent’ who shall act as My deputy by implementing My rulings therein — and this vicegerent was Adam; …
Excerpt from Tafsir al-Jalalayn, commentary on 2:30, via Quran.com. The reader has the full commentary and 9 more tafsirs.