A widow has a gun put to her head and is told to "keep quiet" by soldiers as they lead her 20-year-old son away.

Ali Mohammad Rah sat on the pavement outside a police station in Indian-occupied Kashmir's main city of Srinagar on Tuesday, waiting to see his teenage sons, who were swept up in government raids overnight.

“Soldiers violently banged windows of our home while we were sleeping,” Rah told AFP, saying his sons — aged 14 and 16 — were taken away before dawn in the Srinagar neighbourhood of Mehjoor Nagar.

“They just barged in and dragged my two sons away.”

Take a look: A birth and a death amid occupied Kashmir's harsh lockdown

Government sources say at least 4,000 people have been detained in Kashmir since India revoked the restive Himalayan region's autonomy on August 5 and imposed a massive security lockdown on the restive region.

Protests have broken out frequently, prompting raids by police and paramilitary forces.

In Nowshera, in an old quarter of the city, residents said several young men were taken away and detained by police on Sunday night.

Two men speak to the media as they wait outside a police station after their sons were detained during night raids in Srinagar on Tuesday. — AFP

Locals from other neighbourhoods reported similar blitzes.

To try and stop the raids, residents in Srinagar's Soura area have erected barricades and dug trenches in roads that lead to their cluster of homes.

Sitting outside the police station alongside Rah on Tuesday were dozens of other locals who said their relatives were also in custody — among them 21 boys from the most recent night raid.

They say soldiers used ladders to scale the walls of their compounds.

Examine: Besieged Kashmiri neighbourhood in test of wills with India's Modi

Widow Rozi, who only gave one name, said a gun was put to her head and she was told to “keep quiet” by soldiers as they led her 20-year-old son Suhail Mohiuddin from the house.

Another woman, Mubeena, said a soldier “sprayed something on my face” when her brother was seized.

“I fell down in pain and couldn't see for a while. When I gathered myself my brother had already been taken away,” she told AFP.

A woman waits outside a police station after her relative was detained during night raids in Srinagar on Tuesday. — AFP

Nearby, Ulfat cradled her one-month-old son as she waited to find out about her breadwinner husband Mushtaq Ahmad, who she said was taken away by police.

“I don't have money to buy medicines for myself and other things for my baby,” she told AFP.

Officials at the station did not respond to a request for comment.

Authorities have declined to speak on the numbers of people behind bars.

Those picked up include local politicians, activists, business leaders and lawyers.

In justifying the scrapping of Kashmir's autonomy, Indian Prime Minister Narendra Modi said last week that “fresh thinking” was needed after seven decades of failure to ensure harmony in the former Himalayan kingdom, where tens of thousands have died in the past 30 years.