"The gunfight erupted after police started raiding a building at Naraynganj's Pikeparha on the outskirts of Dhaka," Counter-terrorism Unit's Additional Deputy Commissioner Sanowar Hossain was quoted as saying by the bdnews24.Com.
The unit's chief Monirul Islam earlier said the raid was conducted upon information gleaned from an arrested operative of the banned Jama'atul Mujahideen Bangladesh (JMB).
Police spokesman Jalaluddin confirmed to PTI that Bangladesh-born Canadian citizen Tamim Chowdhury was among those killed during the raid, the second major clampdown after the nine suspected Islamist terrorists were killed last month.
As the security forces tried to enter the house, the criminals opened fire from inside, he said.
More From This Section
Talking to reporters at the scene, the Inspector General of Police said the operation was carried out under codename 'Operation Hit-strong 27' in which police's elite SWAT conducted the main part.
"The duration of the operation was one hour. When we entered into the house we saw three bodies lying on the floor," he said. "The face of one of them completely matched with the photograph of Chowdhury, which made us sanguine that he is the man," he said.
He said the landlord extended cooperation in carrying out the raid. Few grenades and a pistol were found from the scene.
Chowdhury, 30, was identified by police as the mastermind of the country's worst terror attack on July 1 at Holey Artisan Bakery in Dhaka that killed 22 people. An Indian girl was among 17 foreigners killed in the attack.
According to the investigators, Chowdhury had accompanied the five attackers from their Bashundhara flat to Gulshan, Dhaka and left the area after bidding them farewell just before the cafe siege began on July 1.