Nigeria's president Muhammadu Buhari said the government will leave "no stone unturned" in investigating the reports of widespread human rights violations committed by the military.
Amnesty International this week released a report saying the military had killed over 8,000 men and boys who were in its custody.
Mr Buhari vowed to "to promote the rule of law and deal with all cases of human rights abuses," during a stop in neighbouring Niger to discuss Boko Haram and pledge a new strategy to fight the terrorists.
Nigeria's military has rejected the allegations, calling the report biased and the statistics "spurious".
Thousands of deaths in Nigerian military custody - Amnesty (03 June 2015)