Being deeply engaged in reviewing and studying Islamic law (Fiqh) is a valid legal excuse to miss the congregation, provided leaving it causes academic disruption.

Excuses for Missing Congregation and Selected Rulings for Followers