Surah Al-Anbiya, ayah 51

21:51

۞ وَلَقَدۡ ءَاتَيۡنَآ إِبۡرَٰهِيمَ رُشۡدَهُۥ مِن قَبۡلُ وَكُنَّا بِهِۦ عَٰلِمِينَ ٥١

Walaqad ātaynā ibrāhīma rushdahū min qablu wakunnā bihī 'ālimīn

And We had certainly given Abraham his sound judgement before,891 and We were of him well-Knowing

Footnotes

891 i.e., before Moses. Allāh had guided him from early youth.