A 13-year-old girl has dug herself out of a muddy grave after being raped by two men who then buried her alive in Pakistan.

The teen was abducted from her local village in the Punjab province while she was walking to Koran lessons.

Her father Siddique Mughal told police his daughter had been taken, but they refused to cooperate, Outlook India reported.

The men took the young girl to an isolated place and raped her and then buried her alive as they believed she died during the brutal attack.

But the girl managed to dig her way out the muddy grave and caught the attention of passers-by who helped her to a local medical center.

After local police refused to investigate, the Lahore High Court Chief Justice’s Complaint Cell formally directed them to arrest the girl’s attackers and complete a report on the incident without delay.

A sessions judge for the local Toba Tek Singh region has also been asked to look into the matter.

Child rape remains a problem in Pakistan where local activist group Sahil said cultural myths persist such as HIV positive men believing they can be cured through sex with a virgin.

Statistic show cases of child rape have risen from 668 in 2002 to 2,788 last year, according to the International Business Times.

“We still think these statistics are just a fraction of what’s going on,” Sanihl’s executive director Manizeh Bano told the International Business Times.

This story originally appeared on News.com.au.