The riot began in a prison complex in Amazonas state on Sunday following a fight between two drug gangs resulting in the death of at least 56 inmates.
Hundreds of prisoners are still on the run after escaping a Brazilian jail during a brutal clash between two rival drug gangs.
The violence, which lasted for 12 hours, began late on Sunday in a jail in Amazonas state when one gang attacked the other with machetes leaving at least 56 dead.
Authorities said 40 of the fugitives have been recaptured and the gang leaders are being relocated to federal prisons.
The riot was among the worst violence seen in Brazil's overcrowded prisons.
TRT World's Shoaib Hasan reports.