The girl, a resident of Modinagar area in neighbouring Ghaziabad, had gone to her institute on April 28 to collect her marksheet but did not return home.
Following this, her relatives filed a police complaint on May 1 against one Ashu and two others, accusing them of abducting her, a police official said.
"The girl was rescued from a farmhouse in Kankarkhera here last night," said Modinagar police station SHO Dhruv Bhushan Dubey.
The official said the girl will be sent for medical examination to confirm rape.