Star Trek: The Next Generation 1x18.

The Enterprise pays a visit to a group of terraformers. There’s just one problem: that terra may not be theirs to form. There’s something going on on the planet, and all signs point to aline life. Except for the life part. Murder! Mystery! Shiny objects! All of this and more when we put Home Soil in the Mission Log.