The Book of Marriage (Kitab Al-Nikah)
Muslim :: Book 8 : Hadith 3242
Jabir heard Allah's Apostle (may peace be upon him) 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.