Exiled former president Nasheed and JP leader Gasim Ibrahim are under investigation for refusing to return to prison after their medical leave expired.