Dear student
Gauss's law for magnetism is where is the flux through the closed surface dS but since magnetic field lines are continuous loops, all closed surfaces have as many as magnetic field lines going in as coming out. Hence, net magnetic flux through a closed surface is zero i.e. =0. This is equivalent to say that no monopole exits.
So if there exists monopole we can make a closed surface around that and find nonzero flux but as is always zero for magnetic fields so this suggest no monopole.