President Muhammadu Buhari is currently at Kuje Prison, which was attacked by gunmen on Tuesday night.
Over 800 suspects, including Boko Haram suspects, were released in the attack.
The Presidency had announced that Buhari was heading for a World Bank summit in Dakar, Senegal.
This had sparked anger as Nigerians accused Buhari of being insensitive to the insecurity in the country.
However, Buhari’s convoy arrived at the prison around 3:30pm.