The parents of the victim alleged that the police were reluctant to file their complaint.
The incident occurred yesterday in Sarai Madan village in the district's trans-Ganga region, SHO of the police station Abdul Sattar said.
He said that the girl studied in Class V at a local primary school while the accused were students of a junior high school situated nearby.
The alleged perpetrators had gagged the girl when she screamed for help. They dumped her in a nearby field when she began to bleed profusely.
Also Read
A case was registered while the victim was shifted to a hospital as her condition deteriorated considerably.
Meanwhile, the girl's parents alleged that the SHO had initially tried to hush up the case and that the matter was registered only after they had spent nearly nine hours inside the police station demanding that an FIR be lodged.
Assistant Superintendent of Police (Crime) Arun Pandey said the parents' complaint would be looked into and action would be taken if the allegations were found to be true.
Meanwhile, a search was on for the two culprits.