Al-Anbiya' - 21:51

وَلَقَدْ آتَيْنَا إِبْرَاهِيمَ رُشْدَهُ مِن قَبْلُ وَكُنَّا بِه عَالِمِينَ
[21:51]
And certainly We gave to Ibrahim his rectitude before, and We knew him fully well.
We bestowed aforetime on Abraham his rectitude of conduct, and well were We acquainted with him.
And We verily gave Abraham of old his proper course, and We were Aware of him,