Chief Metropolitan Magistrate Dharmender Singh sent Mufti Mohammed Suhail alias Hazrath (29) and Saqib Iftekar (26) to the custody.
Advocate Mohammed Noorullah, appearing for both the accused, had opposed the National Investigation Agency's request for police custody for further interrogation.
The two accused, along with eight others, were arrested for allegedly planning suicide attacks and serial blasts targeting politicians and government installations in Delhi and other parts of north India.
All the 10 accused were arrested on December 26 after the NIA carried out searches, in coordination with the special cell of Delhi Police and Anti-Terrorism Squad of Uttar Pradesh Police, at six places in Delhi and at 11 places in western Uttar Pradesh.
A locally made rocket launcher, material for suicide vests, 12 pistols, several rounds of live ammunition and 112 alarm clocks to be used as timers were recovered during the searches, according to NIA.
The agency had initially rounded up 16 persons of the group 'Harkat ul Harb e Islam', which loosely translates into war for the cause of Islam. It was inspired by the Islamic State terrorist group, officials have said.
Of the 16 detained, 10 were arrested — five from Amroha in UP and five from Seelampur and Jafrabad areas in north-east Delhi, the agency has said.
NIA gets six-day remand of man arrested from UP
A Delhi court sent to six-day NIA remand a man arrested by the agency from UP in connection with its probe against an ISIS-inspired group allegedly planning suicide attacks and serial blasts targeting politicians and government installations in Delhi and other parts of north India.
Chief Metropolitan Magistrate Dharmender Singh sent 24-year-old Muhammed Absar to six-day remand.
Absar, a resident of Jasora village in Meerut district of western Uttar Pradesh, had presented himself before the agency after being a served a notice under Section 41 of the CrPC but was later produced by the agency as arrested, according to Noorullah.
An NIA spokesperson said Absar was arrested by the agency from Hapur on Friday night. He said Absar used to teach at Jamia Husania Abul Hassan in Piplera area of Ghaziabad.