Answered by Shaykh Faraz Rabbani
Not married yet: How to control sexual desires that leads to masturbation?

In the Name of Allah, Most Merciful and Compassionate
May His blessings and peace be on His Beloved Prophet, the best of creation, and his family, companions, and followers
Assalamu Alaykum wa Rahmatullah,
This is a test from Allah: succeeding in controlling one’s desires and passions and avoiding the unlawful (i.e. masturbation) is a means to the good pleasure of Allah; submitting to the dictates of one’s desires and passions aggravates one’s problem.
Faraz Rabbani.
Please see the following links: