The splash of cold water on his face immediately woke him up. He came to his senses and sat up. He said: "Ibrahim you are such a prominent Wali Allah (friend of Allah), he who has given up the Kingdom of Balkh, yet you are tending to a miserable drunkard like myself?" Ibrahim replied, "Seeing you in this disabled state aroused compassion in me. I saw you in a state where flies are buzzing around you, but because you are a servant of my Allah, I deemed it correct to serve you." The young man was very surprised saying, "I was always under the impression that men of Allah look down upon sinners. Today have I come to realize that none are as compassionate upon sinners as the friends of Allah. Please give me your hands, so that I can make Taubah, I can repent for my sins and become Bayat to you."
Sultan Ibrahim (ra) accepted his request for Bayat and made him repent from his sins. At that moment he received kashf (ability to see some hidden things) that this young man who had just repented had surpassed many pious individuals of that period.
Indeed, at the very moment a person repents from his sins, he becomes the most beloved to Allah. Even the angels celebrate in the heavens saying that so and so has asked forgiveness from Allah and has come close to Allah.
Source: muslim foundation