Sahih Muslim | Book 8 | Hadith Number 3242

Narrated by Jabir
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.