Enraged over the alleged incident, people thrashed Dr PK Kumra, an ENT specialist, before handing him over to police, said Madan Mohan Choudhary, Kotwali Police Station In-charge.
According to police, Dr Kumra allegedly molested the 22-year-old girl when she had gone to his residence-cum-clinic on the premises of the government hospital here following pain in her ear.
Police have registered a case under section section 354 (assault or criminal force to woman with intent to outrage her modesty) and 354 A (sexual harassment) of Indian enal Code (IPC) against the doctor who superannuated recently.
"A relative of the concerned girl was also present in the clinic when she came for treatment," Kumra told reporters at the police station.
He said the girl felt uneasy and was about to fall while removing wax from her ear and that he caught her with an intention to give her support.
Police took Kumra into custody and later allowed him to go home on court's permission.