All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
If these fines are issued from a person who is in authority over the students or are based on a permission from a person who has such an authority in order to achieve a benefit for the students or oblige them to attend the school, then some scholars, like Ibn Taymiyyah, Ibn Al-Qayyim and Ibn Baaz permitted it. For instance, Ibn Taymiyyah said: "Reprimanding by imposing fines or inflicting a loss in someone's wealth, property or possession, is permissible in some cases according to the well known opinion of the Maaliki School of jurisprudence, and the view of the School of jurisprudence of Ahmad without any difference of opinion in some issues, and with a difference of opinion in some other issues [that he has not said so], and it is also the view of the Shaafi'ee School of jurisprudence in one opinion, even if they disagreed about some details as confirmed by the Sunnah of the Prophet in regard to depriving a person from what he hunted in the Haram of Al-Madeenah. This is exactly like him ordering to break the large jugs of intoxicants, and like him ordering 'Abdullaah Ibn 'Umar to burn the two garments died with saffron, whereby Ibn 'Umar asked the Prophet said: "Shall I wash them?", the Prophet replied: "No, rather you must burn them."
Therefore, all these issues and similar ones are true and well known to the scholars … and it is not confirmed that the Prophet has absolutely forbidden all kinds of fines, rather the four rightly guided caliphs and great companions applied this after the Prophet's death, and this is evidence that they are not abrogated.
Ibn Baaz when commenting on the statement of Ibn Hajar in regard to the abrogation of the narrations about fines or inflicting valuable losses to a person, said: "The authoritative view of Ibn Hajar that the narrations have been abrogated is not good, rather, the correct opinion is that they are not abrogated for the existence of much appropriate evidence in this regard."
However, if such fines are not issued from a person who is in authority or are not based on a permission from a person who has such an authority, nor based on a pre-condition, then they are not permissible. In this case, a person who avoids them is not sinful, but if they are taken from him forcefully, then he is not to be blamed and not sinful as well.
Allaah Knows best.