Additional footage, not shown by Daily Star Online because of the horrific nature of the scenes, shows the heads of decapitated inmates lying on the floor.
A massive riot in a Brazil jail has reportedly resulted in the grisly deaths of more than 50 people.
Two guards were taken hostage by the marauding prisoners, but they were later released and no prison staff were injured in the melee.
Other images showed flames inside a building that nearly reached the ceiling and people, apparently prisoners, sitting on the ground outside.
But The Associated Press obtained a July 2019 report from the National Justice Council that it says was filed by a local judge in charge of the facility, showing that the prison had 343 detainees for a maximum capacity of 163.
In May this year, at least 55 prisoners were killed in several jails in the neighboring state of Amazonas in violence also blamed on an apparent drug trafficking gang dispute.
India's first lunar lander is on its way to the moon
Indian media have reported that a leak from a helium gas bottle in the cryogenic engine of the rocket was to blame. There will be the first Indian crewed orbital spacecraft , Gaganyaan , which is expected to launch in 2021.
Poorly-trained and badly-paid prison guards often face inmates who not only outnumber them but who also feel they have little to lose as they face long sentences already.
Such incidents are not uncommon in Brazil, which has one of the highest prison population rates in the world. As recently as May, at least 15 inmates at Anisio Jobim Prison Complex in Manaus were found dead by either asphyxiation or stabbed to death by toothbrushes.
In January 2017, more than 140 prisoners were killed during prison riots that spanned three weeks.
Mr Bolsonaro's ability to curtail violence, however, may be limited as most prisons are controlled at the state level.
The Brazilian government had been expected to add another 115,000 inmates by the end of 2018, Human Rights Watch said recently.
Inmate hostages held on the roof of Brazil prison.
Brazilian authorities have not named the two rival gangs involved in the attacks.
This was exacerbated when a two-decade truce of sorts broke down in recent years between two of the country's most powerful gangs - the Sao Paulo-based First Capital Command (PCC) drug gang and Rio de Janeiro's Red Command.