An electric dipole is an arrangement of two equal charges of equal magnitude but opposite nature, separated by some fixed distance.
Now consider a dipole enclosed inside a closed surface S. The flux through the surface S is zero.