The momentum of a system is conserved
The total momentum of a system always remain unchanged before and after the collision regardless of the external forces acting on the system.
If no external forces acts on a system of particles then the momentum of the system remains conserved.