The girl's mother has told the police that the man had tried to assault her daughter several times in the past.
A case has been registered under laws including the Protection of Children from Sexual Offences (POCSO) Act, said the police. No one has been arrested yet.
Two more cases of sexual assault emerged yesterday from UP, where Chief Minister Yogi Adityanath had said last month after the Unnao rape case that his government will not compromise on its policy of zero-tolerance in cases of sexual assault on women and children.
In Bareilly, around 70 km from Shahjahanpur, a 14-year-old was allegedly kidnapped and raped by four men on Sunday. Four auto-rickshaw drivers kidnapped the teen near the station, said Santosh Kumar, a railway police officer.
"The girl narrated the sequence of events and a case was registered against the four men," Mr Kumar said. Two of the alleged rapists, Anil, 27, and Lalit, 24, have been arrested.
The alleged rape of a girl by BJP MLA Kuldeep Singh Sengar, in Unnao, triggered nationwide outrage earlier this month. While the lawmaker is in custody now, a special CBI, on April 16, has recorded the girl's statement.
The UP government claims it has been successful in keeping a strict check on law and order in the state, but according to the Chief Minister's reply, earlier in April, to a question by Samajwadi Party lawmaker Naheed Hasan, crimes against women has gone up in the state in comparison with the 2016-2017 data. Cases of molestation shot up by over 3,000 and 761 more rape cases were reported, as per the UP government's records.
(With inputs from ANI, PTI)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.