Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai:3206ʿAmr b. Zurārah > Ismāʿīl > Yūnus > Abū Maʿshar > Ibrāhīm > ʿAlqamah > Kunt

It was narrated that 'Alqamah said: "I was with Ibn Mas'ud while he was with 'Uthman, may Allah be pleased with him, and 'Uthman said: 'The Messenger of Allah came out to some fityah (young men)--Abu 'AbdurRahman said, 'I did not understand (the word) fityah as I would want'-- and said: 'Whoever among you can afford it, let him get married, for it is more effective in lowering the gaze and guarding chastity, and whoever cannot, then fasting will be a restraint (wija') for him.'"  

النسائي:٣٢٠٦أَخْبَرَنَا عَمْرُو بْنُ زُرَارَةَ قَالَ حَدَّثَنَا إِسْمَاعِيلُ قَالَ حَدَّثَنَا يُونُسُ عَنْ أَبِي مَعْشَرٍ عَنْ إِبْرَاهِيمَ عَنْ عَلْقَمَةَ قَالَ كُنْتُ مَعَ ابْنِ مَسْعُودٍ وَهُوَ عِنْدَ عُثْمَانَ ؓ فَقَالَ

عُثْمَانُ خَرَجَ رَسُولُ اللَّهِ ﷺ عَلَى فِتْيَةٍ قَالَ أَبُو عَبْدِ الرَّحْمَنِ فَلَمْ أَفْهَمْ فِتْيَةً كَمَا أَرَدْتُ فَقَالَ مَنْ كَانَ مِنْكُمْ ذَا طَوْلٍ فَلْيَتَزَوَّجْ فَإِنَّهُ أَغَضُّ لِلْبَصَرِ وَأَحْصَنُ لِلْفَرْجِ وَمَنْ لاَ فَالصَّوْمُ لَهُ وِجَاءٌ  


See similar narrations below:

Collected by Suyūṭī
suyuti:3-84bʿLqmh
Request/Fix translation

  

السيوطي:٣-٨٤b

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

[حم] أحمد [ن] النسائي والبغوى في مسند عثمان، [ض] ضياء المقدسي في مختاره