If you would miss classes, you can pray at the university.

In what circumstances is it obligatory to pray in the masjid? Because there is a masjid 15 min from the university but sometimes I’m in class. Do I have to leave the class? Note that there is 15(going)+15(returning)+10(of salah) minutes. Or can I pray in the university when the class is finished providing that I do not delay the time of the prayer?

Prayer |