Things arguing against planarian (free living flat worm) -
- Not flat, that thing is round!
- It appears to contain spherical, separately walled things inside, like capsules. Could be egg/embryo cases. Not a free-living flatworm.
- Could be a taenia-like internal platyhelminth.
Things arguing against roundworm (nematode) -
- Very large, only possibility something like an earthworm
- It appears to contain rounded, separately walled things inside, like capsules. Could be egg/embryo cases. If this is the case, then no earthworm, as those have specific areas (clitellum) where eggs are produced/stored prior to release.
Actions suggested:
Remove & fix in a vial with alcohol, for later examination.
Keep an eye on fish, or appearance of similar things on tank bottom
Treat all tank with internal parasite treatment.