Star Trek: The Next Generation
Episode: TNG 101 - Encounter at Farpoint, Part I

Planet: Deneb IV. A humanoid culture who applied for entry into the Federation on stardate 41153.7. However, the Bandi were refused Federation membership due to the discovery that the they had trapped and enslaved another life-form in order to gain entry into the Federation.