Gaya Chief Judicial Magistrate Ramanand Ram passed the order, sending Tausif Khan, Sanaah Khan and Shahber Khan, who were arrested on Wednesday, to four days of police custody.
The police here have registered a case against the three for their alleged involvement in terror activities.
A four-member team of the Gujarat Anti-Terrorist Squad (ATS) arrived here today and joined the personnel of the other probe agencies in questioning the three accused, Senior Superintendent of Police, Gaya, Garima Mallik said.
The intelligence personnel of the Army, along with those from the National Investigation Agency (NIA) and Bihar ATS, quizzed the three men particularly about their foreign connections, police sources said.
The Bihar police, with the help of a cyber cafe operator and locals, nabbed Tausif and Sanaah from outside a cyber cafe in the Rajendra Ashram locality here on Wednesday night.
Following their interrogation, Shahber was nabbed from Shahdeo Khap village of Gaya for allegedly giving shelter to Tausif and helping him get a school teacher's job.
The Gaya SSP had said the alleged mastermind's original name was Tausif Khan and that he had been living in Gaya under the name of "Atiq Sir".
The cyber cafe owner, Anurag Basu, who also runs a monthly magazine in Gaya, saw the two posting some objectionable material on the social media and informed the police, which led to their arrest.
Additional Director General of Police (Headquarter) S K Singhal had yesterday said Tausif and Sanaah culled information on the ISIS from the Internet and e-mailed some of it to a few parliamentarians, among others.
Gaya town Deputy Superintendent of Police Alok Kumar Singh had said Tausif, a resident of Ahmedabad and aged around 35 years, was a B.Tech in computer and electronics from the D Y Patil University in Maharashtra.
He was teaching mathematics and science in a school at Shahdeo Khap village.
He also presented the teachings of Islam "in a wrong way, to arouse anti-national feelings among his pupils", the DSP had said.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)