The incident took place on Sunday when the girl who had gone to a nearby market was abducted by her neighbours Wasim and Idreesh, police said, adding, they took her to an isolated place and raped her.
According to a complaint filed by victim's family members, she was also beaten up and threatened of dire consequences if she narrates the incident to anyone, police said.
She was then thrown in an unconscious state on the tracks of Cantt Railways, the complaint said.