Abdullah bin Masud reported,

The Messenger of Allah ﷺ said to us, "Young men, whoever among you can afford marriage should marry, for it lowers the gaze and guards the private parts. And whoever cannot should fast, for fasting is a shield for him."

Azami 12878

Sahih

عن عبد الله بن مسعود قال

قال لنا رسول الله ﷺ: يا معشر الشباب من استطاع منكم الباءة فليتزوج، فإنه أغض للبصر، وأحصن للفرج، ومن لم يستطع فعليه بالصوم، فإنه له وجاء.

الأعظمي 12878صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Nur
Section
His saying, "And marry the unmarried among you and the righteous among your male slaves and female slaves. If they should be poor, Allah will enrich them from His bounty, and Allah is Wasi, Aleem"
Numbering
Jami al-Kamil 12878 (2nd edition)
Azami 12878