Mohammad Hamaki released from hospital