Abdullah bin Masud reported,

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

Muslim 3400

Sahih

حدثنا أبو بكر بن أبي شيبة وأبو كريب قالا حدثنا أبو معاوية عن الأعمش عن عمارة بن عمير عن عبد الرحمن بن يزيد

عن عبد الله قال

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

مسلم 3400صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Marriage
Chapter
Recommendation of marriage for one whose soul yearns for it and who can afford its expenses, and that one who cannot afford them should occupy himself with fasting
Numbering
Darussalam 3400
Muslim 3400