Alqama reported,

I was walking with Abdullah at Mina when Uthman met him. Uthman stood with him to converse, and said to him, "Abu Abdul-Rahman, shall we not marry you to a young girl who might remind you of the days of your youth?"Abdullah replied, "If you say that, then indeed the Messenger of Allah ﷺ said to us, '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 fasting is a shield for him.'"

Ahmad 3592

Sahih

حدثنا أبو معاوية حدثنا الأعمش عن إبراهيم

عن علقمة قال

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

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