Students, teachers and schools should always be protected in armed conflict
International humanitarian law requires warring parties to refrain from attacking students, teachers, and their schools. It is that civilian character that offers them protection during the conduct of hostilities.
Source: icrc.org