A case was registered against the accused Asif and Javed for forcefully entering the victim's house and attempting to rape her yesterday, SHO Sanjiv Sharma said.
Asif was beaten up by the people and handed over to the police, he said, adding the other accused was absconding.
In another incident, a 9-year-old boy was allegedly sodomised in Kotwali area yesterday, police said.
A case has been registered against the accused Shahid in this regard and efforts are on to trace him, they said.