The toll in the clashes between police and protesters opposing a court-ordered survey of a Mughal-era mosque in Sambhal, Uttar Pradesh, rose to four following the death of one more injured person, officials said on Monday.
The district administration has already imposed prohibitory orders and barred the entry of outsiders till November 30.
Deputy Inspector General of Police (Moradabad) Muniraj said one person injured in the violence died during treatment.
He didn't disclose the victim's identity.
District Magistrate Rajender Pensiya said late on Sunday that the prohibitory order had been issued under provisions of the Bharatiya Nyaya Sanhita (BNS).
'No outsiders, other social organisations or public representatives will enter the district border without the permission of the competent officer,' said the order, which came into force with immediate effect.
Violation of the order will be punishable under Section 223 (disobedience to order duly promulgated by public servant) of the BNS.
Earlier, Muniraj told reporters that Naeem, Bilal and Nauman -- the three men who died in Sunday's violence -- had been buried.
All three were aged about 25.
The officer added that those involved in the violence were being identified on the basis of available videos and action would be taken against them.
"Right now, we are engaged in maintaining peace and the situation is under control," he said.
Violence broke out in the district on Sunday as protesters opposing the survey of the Jama Masjid clashed with security personnel.
The protesters torched vehicles and pelted the police with stones while the security personnel used tear gas and batons to disperse the mob.
Divisional Commissioner (Moradabad) Aunjaneya Kumar Singh said on Sunday, "Shots were fired by miscreants... the PRO of the superintendent of police suffered a gunshot to the leg, the circle officer was hit by pellets and 15 to 20 security personnel were injured in the violence."
A constable also suffered a serious head injury while the deputy collector fractured his leg.
Twenty-one people, including two women, have been detained and a probe has been launched, the official had said, adding that those accused in the violence would be booked under the stringent National Security Act (NSA).
District Magistrate Pensiya had said, "The casualty count stands at three. The reason for the deaths of two is clear -- bullet wounds from countrymade pistols. The reason for the death of the third person is not clear but it will be after post-mortem."
Internet services were soon suspended in Sambhal tehsil for 24 hours and the district administration declared a holiday in all schools for Monday.
Tension had been brewing in Sambhal since November 19 when the Jama Masjid was first surveyed on the court's orders following a petition claiming that a Harihar temple had stood at the site.
On Sunday, trouble started early when a large group of people gathered near the mosque and started shouting slogans as the survey team began its work.
District officials said the survey could not be completed on Tuesday and was planned for Sunday to avoid interference with afternoon prayers.
Supreme Court lawyer Vishnu Shankar Jain, who is a petitioner in the case, had earlier said the Court of Civil Judge (Senior Division) ordered the constitution of an 'advocate commission' to survey the mosque.
The court has said a report should be filed after conducting a videography and photography survey through the commission, he had said.
On Sunday, Jain urged the Archaeological Survey of India to take control of the 'temple'.
Gopal Sharma, a local lawyer for the Hindu side, had earlier claimed the temple that once stood at the site was demolished by Mughal emperor Babur in 1529.
HC allows survey of Mathura's Shahi Idgah mosque
Varanasi court allows Hindus to pray in Gyanvapi area
'Muslims should give Gyanvapi, Mathura to Hindus'
An Afternoon At The Kashi Temple-Gyanvapi Mosque
Puja performed in Gyanvapi basement after court order