Mr Hamad, and Prof Omar Fakih, were arrested by the police on Thursday, October 29 in the morning soon after he had concluded a press conference in Zanzibar.
The arrest came after preliminary results from the Zanzibar Electoral Commission (ZEC) showed that the CCM presidential candidate Dr Hussein Mwinyi was in the lead.