Alqama bin Qays reported,

I was with Abdullah bin Masud at Mina when Uthman met with him privately, so I sat nearby.Uthman said to him, "Would you like me to marry you to a young virgin girl who might remind you of something of your past vigor?"When Abdullah saw that Uthman had no other need than this, he motioned to me with his hand, so I came over, and he was saying, "If you say that, the Messenger of Allah ﷺ said, 'Young men, whoever among you is able to marry should do so, for it lowers the gaze and guards the private parts. And whoever is not able should fast, for it will be a shield for him.'"

Ibn Majah 1845

Sahih

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

عن علقمة بن قيس قال

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

ابن ماجه 1845صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Marriage
Chapter
Virtue of marriage
Numbering
Darussalam 1845
Ibn Majah 1845