A policeman was injured in the encounter, carried out by a joint team of Delhi Police and Uttar Pradesh Police.
Shamim, 30, was killed and a constable of special operations group (SOG) of the UP police was injured in the firefight last night, said P S Kushwah, DCP (Special Cell).
He and his associates were sought by the special cell in connection with a September 2016 robbery in Daryaganj area.
"The duo were asked to surrender but they opened fire on the police team," he said, adding the police also returned fire in self-defence.
More From This Section
Inspector Shiv Kumar of the Special Cell was hit on his bulletproof jacket, while SOG constable Ashok Khari was seriously injured in the exchange of fire, the officer said.
He said Shamim, who was injured in the firefight, was later declared brought dead by doctors at an area hospital. His associate managed to escape.
A 9 mm pistol was recovered from Shamim.
Shamim was arrested for the first time in 2007 and was booked for theft, robbery, Arms Act, and attempt to murder.
In 2006, he and one of his associates had opened fire on an inspector of Manglor police station during an encounter.
In 2007, they had opened fire on a sub-inspector of the anti-extortion cell in Muzaffarnagar. They were also involved in two robberies in the city, the officer added.