A court in the Maldives on Thursday ordered the release of former president Abdulla Yameen, saying there was not enough reason to hold him beyond a month under the law.