As usual with Muhammad, he copied the term 'Friend of God'regarding Abraham's relationship with theAlmighty from theBible and from Jewish traditions and'Islamized' it in his Quran calling him'Khali'ul Allah',meaning the'Friend of Allah'.
4:125Who can be better in religion than one who submits his whole self to Allah does good and follows the way of Abraham the true in faith? For Allah did take Abraham for a friend
#634 Abraham is distinguished in Muslim theology with the title of "Friend of Allah". This does not of course mean that he was anything more than a mortal. But his faith was pure and true, and his conduct was firm and righteous in all circumstances. He was the fountainhead of the present monotheistic tradition, the Patriarch of the prophetic line, and is revered alike by Jews, Christians and Muslims #
*** The expression that Abraham is a friend of God comes from the Torah
II Chronicles 20: 7 " Are you not our God, who drove out the inhabitants of this land before your people Israel, and gave it to the seed ofAbraham your friendfor ever?
Isaiah 41: 8.But you,Israel,are my servant,Jacobwhom I have chosen, the seed of Abraham my friend.