Sunan Abi Dawud 2046
Grading supplied with this record: Sahih (Al-Albani)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنِ اسْتَطَاعَ مِنْكُمُ الْبَاءَةَ فَلْيَتَزَوَّجْ فَإِنَّهُ أَغَضُّ لِلْبَصَرِ وَأَحْصَنُ لِلْفَرْجِ وَمَنْ لَمْ يَسْتَطِعْ مِنْكُمْ فَعَلَيْهِ بِالصَّوْمِ فَإِنَّهُ لَهُ وِجَاءٌ "
"Alqamah said "I was going with "Abd Allaah bin Mas'ud at Mina where "Uthman met him and desired to have a talk with him in privacy" . When "Abd Allaah (bin Mas'ud) thought there was no need of privacy, he said to me "Come, "Alqamah So I came (to him)" . Then "Uthman said to him "Should we not marry you, Abu "Abd Al Rahman to a virgin girl, so that the power you have lost may return to you?" "Abd Allaah (bin Mas'ud) said "If you say that , I heard the Apostle of Allaah (ﷺ) say " Those of you who can support a wife, should marry, for it keeps you from looking at strange women and preserve from unlawful intercourse, but those who cannot should devote themselves to fasting, for it is a means of suppressing sexual desire.
Full reference and source
Sunan Abi Dawud 2046 In-book : Book 12, Hadith 1 English translation : Book 11, Hadith 2041
View source on Sunnah.com (opens in a new tab)