A top judicial agency in Egypt has agreed to review one of the most notorious prisons in the country.