After the humiliation Prophet Ibrahim (as) experienced with his people, he walks away with his Sara and makes several dua asking Allah to not disgrace him on the Day of Resurrection. At that point he only has the idea of returning to Allah with a sound heart.
Prophet Ibrahim (as) sees his father on the Day of Judgement and he asks Allah not to humiliate him by throwing his father into the fire. So Allah makes him see his father as an animal to take away the pain of him watching his father being thrown into the fire.
Prophet Ibrahim says that the humiliation of this world is nothing. The humiliation of getting your book in our left hand, where everyone will mock you and knowing that your fate has been sealed will be worse.
On the Day of Judgement we will be resurrected without clothes. The first one to be clothed will be Prophet Ibrahim (as). This is so powerful because he was stripped of his clothes when he was about to be thrown into the fire and so his clothes will be given to him first on the Day of Judgement and he will be honoured.