The correct option is B friction
Viscosity is the property by virtue of which a liquid offers resistance for the relative motion between liquid molecules. Friction is the force which opposes relative motion between any two objects. So, viscosity is most closely related to friction.