During a search operation, the security forces came under fire from militants triggering an encounter in which three militants including a foreigner Essa Fazili of Srinagar were killed. Clashes between groups of youths and security forces broke out in several areas of the city, he said.
The gunfight, according to sources, had started around 1:15 am at Hakoora-Badsgam in Dooru area of the district.
He said Fazili, who was a BTech student and had joined militancy in August past year, and Owais were affiliated with Tehreek-ul-Mujahideen.
Clashes erupted in various localities of Soura area in Srinagar.
Shouting pro-Azadi and anti-India slogans, the protesting students carried banners reading, "End Occupation, Free Kashmir".
Authorities have ordered closure of schools and colleges in Srinagar, besides postponed examinations in schools and universities. The exams that were scheduled on Monday have also been deferred.
Class work also remained suspended at the Government Degree College Ganderbal.
"Fearing protests in Srinagar city as one of the killed militant belongs to Soura of Srinagar city". The tweet said that these orders are temporary and gave a helpline number.
Of the three slain militants, police officials have identified two as local cadres - one hailing from Soura - Srinagar and another from Vailoo Kokernag of Anantnag.
Train services across the valley have been suspended and internet services deactivated.
A heavy contingent of government forces was deployed outside the resident of Hurriyat (M) chairman Mirwaiz Umar Farooq, putting him under house arrest.