The minister expressed regret over the attack.
The 33 inmates were said to have cases relating to terrorist attacks.
“I am disappointed with the intelligence system. How can terrorists organise, have weapons, attack a security installation and get away with it?” said Mr Buhari.
The men are to be remanded at Suleja Correctional Center until they meet their bail conditions, the judge ruled.
The nation’s State Security Service (SSS) in April 2016 described Mr Al-Barnawi’s capture as “a major milestone in the counterterrorism fight of this service.”
Fleeing Boko Haram escapees are believed to still be with the Federal Capital Territory, posing grave threats to hapless citizens.
The minister said the marketers are purposely frustrating supplies to the Abuja city centre, sparking persistent fuel queues.
Mr Bello said no one can go into any community and blend without being spotted by members of the community.
The president scheduled to travel to Dakar, Senegal visited the prison to gauge the level of damage.
He said three personnel of the NCoS were also seriously injured.
