Teachers were warned to hide from students if they chose to pray.