Prophet ibrahim (A.S) is reffered to as khalliluiah because he is the friend of God. Because of the description given to Abraham in Surah 4.125, that God took him for a khalil, a friend, he is thus called Khalilullah in Islam.