In a hadith, Prophet Muhammad s.a.w. said,
النِّكَاحُ مِنْ سُنَّتِي فَمَنْ لَمْ يَعْمَلْ بِسُنَّتِي فَلَيْسَ مِنِّي وَتَزَوَّجُوا فَإِنِّي مُكَاثِرٌ بِكُمُ الأُمَمَ
“Marriage is part of my sunnah, and whoever does not follow my sunnah has nothing to do with me. Get married, for I am heartened by your great numbers before the nations (of other Prophets).”
(Sunan Ibn Majah)