Hadith on Marriage: Get married, or fast to control your urges

Aisha reported: The Messenger of Allah, peace and blessings be upon him, said, “Marriage is part of my Sunnah. Whoever does not act upon my Sunnah is not part of me. Give each other in marriage, for I will boast of your great numbers before the nations. Whoever has the means, let him contract a marriage. Whoever does not have the means should fast, as fasting will restrain his impulses.

Source: Sunan Ibn Mājah 1846

Grade: Sahih (authentic) according to Al-Albani

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

1846 سنن ابن ماجه كتاب النكاح باب ما جاء في فضل النكاح

2383 المحدث الألباني خلاصة حكم المحدث صحيح في السلسلة الصحيحة