Coimbatore: A Coimbatore court on Thursday granted police five days custody of three suspected ISIS sympathisers who had allegedly conspired to stage terror attacks on temples and churches in the city.

Three days ago, the police had submitted a petition in the principal district court seeking eight days' custody of the accused, who were arrested under the Unlawful Activities Prevention Act (UAPA) for interrogation.

According to the FIR registered against the trio, they had conspired to carry out suicide attacks at temples, churches and places where people gathered in large numbers.

Based on inputs, police had kept the three under watch and claimed to have found them watching videos of the Islamic State (IS).

They were arrested on June 15 after a search was conducted in their houses and some digital devices and documents were seized.

The arrest came days after the National Investigation Agency (NIA) raided seven locations in the city and arrested Mohammed Azarudeen, the alleged mastermind of the ISIS Tamil Nadu module, who was a Facebook friend of Zahran Hashim, the mastermind of the Easter Sunday suicide bombings in Sri Lanka.

They were earlier remanded to judicial custody till June 28.

When the petition came up on Thursday, principal district judge R Sakthivel allowed the police to take them into custody for five days.