The booklet of Ibn Abu Yazid Al-Qayrawany

Q 5: Is it better for young men to continue with their studies after high school or university or to get married in order to protect them from adultery and homosexuality?

A: Some young men prefer to continue with their studies instead of marrying or vice versa. The ruling on this matter varies according to each person's degree of chastity, (Part No. 12; Page No. 221) ability to restrain his lust, ability to combine marriage and continuing education, and society's need of their education.There is no harm if a person can combine both matters. Otherwise, he has to control himself even if by fasting so he can complete his studies as this would benefit both him and his society. If, however, the Islamic society is in need of him in order to promote its affairs and the person could only control his desires by marriage, the ruler should help him to combine both matters in order to retain his chastity and fulfill the interest of the nation by him continuing his studies. If a person could not restrain his lusts and the ruler could not help him to continue his studies or was not in need of his services, it is better for him to marry and it is sufficient for whoever is in his status to learn the necessary matters of religion.In conclusion, this matter requires proper application of each person's duties (Part No. 12; Page No. 222) according to his status and that of his society.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.