The girl on Thursday went out to buy colours for Holi but did not return home prompting her family to lodge a missing complaint, Purola SDM Puran Singh Rana said.
Yesterday, when children were playing Holi, they heard a girl crying for help. They informed the elders and the missing girl was found locked in a bathroom, he said.
A mob of youths then vandalised the shop and residence of the accused and set ablaze a car and two motorcycles parked outside the homes of the scrap dealers living in the area, the SDM said.
The accused has been booked under relevant sections of the IPC and the Protection of Children from Sexual Offences (POCSO), Rana said.
A case has also been registered against those who vandalised the shop and house of the accused, he said.