Musnad Ahmad 4271
Grading supplied with this record: Its isnad is saheeh, al-Bukhari (5066) and Muslim (1400)]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated from ‘Alqamah that
Ibn Mas’ood was met by 'Uthman in 'Arafah. He sat on his own with him and talked to him, then 'Uthman said to Ibn Mas'ood: What do you think of a girl I will give to you in marriage? 'Abdullah bin Mas'ood called ‘Alqamah and he told him that the Prophet (ﷺ) said: "O young men, whoever among you can afford it, let him get married, for it is more effective in lowering the gaze and guarding one's chastity, And whoever cannot afford it should fast, for it will be a shield for him."
Full reference and source
Musnad Ahmad 4271 Arabic/English book : Book 26, Hadith 4271
View source on Sunnah.com (opens in a new tab)