The incident took place on Sunday when a textile merchant in Shahdara approached police complaining that he had been robbed of Rs 4 lakh by a gang of four, including a woman. The gang was traced to a building in Shahdara.
A police team was sent to nab them, an official said.
When the police team reached there, a large group of locals surrounded them and allegedly started pelting stones.
During the confrontation, four constables sustained injuries and a police vehicle was partially damaged.
Also Read
The police team later had to resort to tear gas shelling to bring the situation under control.
The officials managed to arrest three of the robbers, of which one turned out to be a history-sheeter, but the woman, suspected to be their leader, managed to escape.
A case of rioting and assaulting public servant has been registered in connection with the attack on the police team.
Around a dozen locals who attacked the policemen have been identified and efforts are on to nab them, the official added.