Abdul-Rahman bin Yazid reported,

He said, "We came in to see Abdullah, and Alqama and Aswad were with him. He then narrated a hadith, and I think he only narrated it because of me, since I was the youngest of the group."He said, "We were with the Messenger of Allah ﷺ, young men with nothing to our name, and he said, 'Young men, whoever among you can afford marriage, let him marry, for it lowers the gaze and guards the private parts. And whoever cannot, let him fast, for it will be a shield for him.'"

Ahmad 4035

Sahih

حدثنا ابن نمير أخبرنا الأعمش عن عمارة بن عمير

عن عبد الرحمن بن يزيد قال

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

أحمد 4035صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Masud
Numbering
Darussalam 4035
Ahmad 4035