The incident took place yesterday when the 14-year-old girl was alone in her house as her family members had gone out, police said.
Deepak then entered the house and raped the girl, they said.
Meanwhile, girl's brother Pooran came back to take a farming tool and caught the accused and locked him in a room.
When Deepak's family members came to know about the incident, they came and thrashed Pooran and took the accused with them, police said.
The alleged accused is absconding and a case in this connection has been registered today with Sewar Police Station.