There are two categories of collisions that show conservation of momentum: sticky collisions and rebound collisions.
When the bullet hits the soft ground, it would be categorized as a sticky collision, because both objects tend toward a rest state relative to each other after the collision...