Two photons having equal linear momenta have equal wavelengths is correct. As in the rest of the options magnitude of momentum or energy can be same because energy and momentum are inversely proportional to wavelength. But the direction of propagation of the photons can be different.
Hence the correct option is D.