A 15-year-old student claimed she was molested by her schoolmate in their school in Segamat, Johor, China Press reported.
She alleged that the 16-year-old suspect molested her on April 20 after dragging her into a male toilet when she was walking back to her classroom.
The suspect only released the victim after he heard footsteps of several students walking towards the toilet.
The victim kept mum about the incident until one of her classmates called up to check on her the next day.
Her classmate claimed that he would teach the suspect a lesson by beating him up. Worried that it might get out of hand, the girl revealed the incident to her teacher.
Police are investigating the case after the parents lodged a report.