Three police personnel -- station officer Ramji Lal, sub-inspector Raj Singh and lady constable Sukhraj Kaur -- have been suspended following the incident, the police said.
The two rape accused have been arrested, they said.
The action was taken after family members of the girl, who belongs to Rasoolpur village, alleged that instead of registering her complaint, the personnel posted at Afzalgarh police station had beaten her up on April 12,
a day after two
youths of the same village had allegedly raped her.
This is the second such incident in Uttar Pradesh within 10 days.
A 10-year-old alleged rape victim was put behind bars by women cops in Bulandshahr when she had approached them to file a complaint along with her mother.
The Supreme Court on Monday directed the Uttar Pradesh government to file response within a week on detention of the 10-year-old rape victim.