‘Alqama reported: While I was walking with ‘Abdullah (Radi Allah Anhu) at Mina, ‘Uthman (Radi Allah Anhu) happened to meet him. He stopped there and began to talk with him. Uthman (Radi Allah Anhu) said to him: Abu ‘Abd al-Rahman (Radi Allah Anhu), should we not marry you to a young girl who may recall to you some of the past of your bygone days; thereupon he said: If you say so, Allah’s Messenger (sal-allahu-alleihi-wasallam) said: “0 young men, those among you who can support a wife should marry, for it restrains eyes from casting (evil glances). and preserves one from immorality; but those who cannot should devote themselves to fasting for it is a means of controlling sexual desire.”
[Sahih Muslim: Volume 8, Book ‘Kitab Al-Nikah’, Number 3231]

Abdullah (b. Mas’ud) (Radi Allah Anhu) reported that Allah’s Messenger (sal-allahu-alleihi-wasallam) said to us: “0 young men, those among you who can support a wife should marry, for it restrains eyes (from casting evil glances) and preserves one from immorality; but he who cannot afford It should observe fast for it is a means of controlling the  sexual desire.”
[Sahih Muslim: Volume 8, Book ‘Kitab Al-Nikah’, Number 3233]