A two-judge bench headed by Justice Ejaz Afzal Khan ordered the interior ministry to provide a detailed account of everyone being held and their crimes, the Dawn reported.
"Why have these people been held without any charges filed against them," Dawn quoted Justice Khan, as saying.
"If someone has committed a crime, they should be punished after trial," he said.
The bench also ordered that all persons held in detention centres should be allowed to meet their relatives within a week.
The hearing has been subsequently adjourned until November 13. (ANI)