President asks teachers to prevent ragging from taking place