Marriage is obligatory upon one who fears falling into sin
It is established from the Book and the Sunnah that zina (fornication/adultery) and everything that leads to it are forbidden, as in the Qur’an:
وَلَا تَقْرَبُوا الزِّنَىٰ ۖ [Al-Isra: 32]
“Do not even go near zina.”
Likewise, the same is established from a hadith.
[Muslim: 107, 1897]
Moreover, consensus has also been established on its prohibition.
[Mawsu’at al-Ijma’ fi al-Fiqh al-Islami: 1/320]
Since avoiding the forbidden is obligatory, and when this avoidance is possible only through marriage, marriage too becomes obligatory, as in the principle: “That without which an obligation cannot be fulfilled is itself obligatory.” Therefore all the evidences by which the obligation of marriage is argued will be applied to this case, and some of them are as follows:
➊ فَانْكِحُوا مَا طَابَ لَكُمْ مِّنَ النِّسَاءِ [Al-Nisa: 3]
“Marry women who please you.”
➋ وَأَنكِحُوا الْأَيَامَى مِنْكُمُ [Al-Nur: 32]
“Marry off those among you, men and women, who are unmarried.”
➌ It is narrated from Aisha (may Allah be pleased with her) that the Messenger of Allah ﷺ said:
النكاح من سنتي فمن لم يعمل بسنتي فليس مني وتزوجوا فإنى مكاثر بكم الأمم
“Marriage is part of my Sunnah, and whoever does not act upon my Sunnah is not from me. And marry, for I will be proud of your great numbers before the nations.”
[Hasan: Sahih Ibn Majah: 1496, Kitab al-Nikah: Bab ma ja’a fi al-Nikah, Ibn Majah: 1846]
➍ Among the three men who regarded the worship of the Prophet ﷺ as little, one of them vowed, “I will not marry.” When the Prophet ﷺ came to know, he called them and said: I also marry women
فمن رغب عن سنتي فليس مني
“Whoever turns away from my Sunnah is not from me.”
[Bukhari: 5063, Kitab al-Nikah: Bab al-Targhib fi al-Nikah, Muslim: 1401, Nasa’i: 6/20, Ahmad: 3/241, Ibn Hibban: 14, Bayhaqi: 7/77]