(10) CHAPTER. As-Saum (the fasting) (is recommended) for those who fear committing illegal sexual acts, i.e., those who are unmarried.
1905. Narrated ‘Alqãma: While I was walking with ‘Abdullãh: he said, “We were in the company of the Prophet, peace be upon him, and he said, ‘He who can afford to marry should marry, because it will help him to lower his gaze (from looking at forbidden things and other women), and save his private parts (from committing illegal sexual acts etc.), and he who cannot afford to marry is advised to observe Saum (fasting), as Saum (fasting) will restrain his sexual power.”