Answered by Shaykh Faraz Rabbani
Question: A dear brother of mine is due to get married in December, unfortunately he went to a prostitute and committed illegal sexual acts. He regrets it very much, even while he was there he wanted to leave, please if you could give some prayer for repentance also if you could give some prayer to protect him and us all from our desires and shaitan.
Answer: Allah Most High says,
“Turn towards Allah, O believers, every one of you, so that you may be successful.” (24:31)
Walaikum assalam wa rahmatullah,
1. The best repentance is to resolve not to return to such matters, and to turn to Allah, expressing one’s remorse with one’s own heart-felt words. See attached answer(s).
It is good to make the prayer of repentance:
Abu Bakr (Allah be pleased with him) related from the Messenger of Allah (Allah bless him and give him peace) that he said, “There is no one who commits a sin, goes and performs ritual ablutions, and then prays two rakats after which they seek Allah’s forgiveness except that He forgives them.” After this, he (peace and blessings be upon him) recited Allah Most High’s words,
“And those who, when they do an evil thing or wrong themselves, remember Allah and implore forgiveness for their sins – Who forgives sins save Allah only? – and will not knowingly repeat (the wrong) they did.” [Qur’an, 3.135]
This has been related by Abu Dawud and Tirmidhi in their respective Sunan, and the scholars declared it to be a recommended prayer. [Ibn Qudama, al-Mughni 1.348, Ibn Abidin, Radd al-Muhtar 2.28, quoting Sharh Shir`at al-Islam via Shaykh Isma`il al-Nabulsi]
And Allah alone gives success.