Nip it in the bud, meaning to stop something while it is still in development, is the correct expression. This phrase refers to the de-budding of plants, allowing the remaining buds to grow better.
- The boss wants to nip that questionable practice in the bud.