Sayyidina Abdullah ibn Mas’ud (RA) narrated : We went out with Allah’s Messenger (SAW) while we were young men and we were unable to do anything (that is, not even afford marriage). He said, “0 Group of young men! It is incumbent that you marry for it protects the eye and the private parts. So, he among you who cannot marry, let him fast, for, fasting dries up (lust)”.
[Ahmed 4023, Bukhari 1905, Muslim 1400, Abu Dawud 2046, Nisai 3206, Ibn e Majah 1845]