When external force acts on a system then its linear momentum will not be conserve. If only internal forces are acting on a system then the linear momentum of the system will be :
Know your College Admission Chances Based on your Rank/Percentile, Category and Home State.
Get your JEE Main Personalised Report with Top Predicted Colleges in JoSA
Linear momentum will conserved when internal forces act on system because some of internal forces will be zero.