And Ibrahim 's asking for the forgiveness of his father was only in pursuance of a promise which he had made unto him . Then , when it became manifest unto him that he was an enemy of Allah , he declared himself quit of him .