This hadeeth comes under the following chapter: HE WHO SEES A WOMAN, AND HIS HEART IS AFFECTED, SHOULD COME TO HIS WIFE, AND SHOULD HAVE INTERCOURSE WITH HER
Jabir heard Allaah's Prophet (sallAllaahu alayhi wa sallam) say: When a woman fascinates any one of you and she captivates his heart, he should go to his wife and have an intercourse with her, for it would repel what he feels.