Wa `alaykum As-Salamu wa Rahmatullahi wa Barakatuh.
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
1- Uncontrolled mixing between members of the opposite sex is really serious.
2- There is nothing wrong in joining co-educational schools or colleges, so long as the Muslim males and females abide by the rules of Islam and avoid that which is prohibited.
Responding to your question, Sheikh Faysal Mawlawi, The late Deputy Chairman of the European Council for Fatwa and Research, states:
A Muslim may live in a society that does not seek Almighty Allah’s pleasure. If he/she cannot dispense with living in that society, he/she can be morally uplifted (by being keen on observing the Islamic teachings in his/her life). This is what referred to by the hadith to the effect that one is to modify the abominable things by one’s tongue and heart [if one cannot do that with one’s hand].
Seeking knowledge is a collective duty upon Muslim males and females. Having co-educational schools does not entail that Muslims give up education.
It is right that we should do our best so that there be no mixed education and choose the single-sex schools to join if they are available.
But as for your case, you say there are only co-educational schools. Hence, there is no blame on you if you continue studying this year in the mixed school, since you wear hijab [and stick to the teachings of Islam].
Who knows, maybe your wearing hijab will attract your female colleagues to follow in your footsteps. If you managed to guide one of your colleagues in that regard, this would be extremely good [and would please Almighty Allah]. So, you can continue studying in your school, especially, if your parents want you to do so.
In my point of view, if you disobeyed your parents in that respect, you would not be fully innocent. It is known that disobeying one’s parents if they order one to commit a sin is lawful, but enrolling you in a mixed school is not a sin in itself. The sin in that regard is giving up wearing hijab and violating the Islamic teachings and codes of conduct.
Hence, you can join the mixed school so long as you abide by the teachings of Islam, and it seems that your parents trust you in that respect.
Allah Almighty knows best.
Editor’s note: This fatwa is from Ask the Scholar’s archive and was originally published at an earlier date.