Lahiru Madhushanka has also been denied a fair trial, the rights group says.
The Sri Lankan was charged with being part of an assassination attempt on the Maldives president.
Prosecutors said former Vice President Ahmed Adeeb had hired 27-year-old Lahiru Madhushanka to assassinate President Abdulla Yameen last October.