Praise be to Allah.
Studying in mixed schools, institutes and universities is not permitted. The evils that exist in these institutions because of that mixing are no secret, let alone the fact that people do not learn much, if anything, in these institutions. Wise people even in kaafir countries have called for segregation between the sexes in educational institutions because of the moral damage they have noticed and the weakening of educational standards. Trustworthy scholars have issued fatwas stating that this kind of education is not permissible.
The scholars of the Standing Committee said:
It is haraam for male and female students and teachers to mix in educational institutions, because of the fitnah and provocation of desires and immoral conduct that results from that. The gravity of the sin is compounded if the female teachers and students uncover any part of their āawrahs or wear see-through or tight clothing, or if the students or teachers flirt or joke together, which may lead to transgression of limits and violation of honour.
Fataawa Islamiyyah, 3/102, 103
Shaykh Ibn āUthaymeen (may Allaah have mercy on him) was asked:
Is it permissible for a man to study in a mixed university where men and women mix in one classroom, knowing that the student has a role to play in calling people to Allaah?
He replied:
What I think is that it is not permissible for anyone, man or woman, to study in a mixed school, because of the grave danger that it poses to his chastity, integrity and morals. No matter how great a personās integrity, morals and innocence, if a woman is sitting beside him on the seat ā especially if she is beautiful and unveiled ā he can hardly avoid fitnah and evil. Everything that leads to fitnah and evil is also haraam and is not permitted. We ask Allaah to keep our Muslim brothers safe from such things which will only bring evil, fitnah and corruption to their youth. If there is no other university apart from this one, he should go and study in another city or country where this mixing does not happen. I do not think that this is permissible
Fataawa Islamiyyah, 3/103