Surah An-Nahl

16:120

إِنَّ إِبْرَٰهِيمَ كَانَ أُمَّةًۭ قَانِتًۭا لِّلَّهِ حَنِيفًۭا وَلَمْ يَكُ مِنَ ٱلْمُشْرِكِينَ

Indeed, Abraham was a [comprehensive] leader, devoutly obedient to Allah, inclining toward truth, and he was not of those who associate others with Allah.

Tafsir 16:120

Indeed, Abraham (peace be upon him) possessed all the attributes of goodness and always obeyed His Lord turning away from all other religions to the religion of Submission (Islam). He was never an idolater.