The girl's parents lodged an FIR in this connection after they came to know about the incident yesterday, police said.
The 7-year-old was allegedly raped on April 27, they said adding she was admitted to a hospital in Lucknow in serious condition.
One person had been arrested in this connection, police said.