by any chance does it look like this?
if so its a mayfly larvae, there often hitchhikers from new plants..
it feeds on small crustaceans and fish fry so is harmful too small fish..
its more likely to be a Mayfly due to its small size..
but either way its not a good thing to have in a tank..