Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:14744Mūsá b. Dāwud > Ibn Lahīʿah > Abū al-Zubayr > Jābir

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. (Using translation from Muslim 1403c)  

أحمد:١٤٧٤٤حَدَّثَنَا مُوسَى بْنُ دَاوُدَ حَدَّثَنَا ابْنُ لَهِيعَةَ عَنْ أَبِي الزُّبَيْرِ قَالَ أَخْبَرَنِي جَابِرٌ قَالَ

سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ إِذَا أَحَدُكُمْ أَعْجَبَتْهُ الْمَرْأَةُ فَوَقَعَتْ فِي نَفْسِهِ فَلْيَعْمِدْ إِلَى امْرَأَتِهِ فَلْيُوَاقِعْهَا فَإِنَّ ذَلِكَ يَرُدُّ مِنْ نَفْسِهِ  


See similar narrations below:

Collected by Muslim, Aḥmad
muslim:1403cSalamah b. Shabīb > al-Ḥasan b. Aʿyan > Maʿqil > Abū al-Zubayr > Jābir

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.  

مسلم:١٤٠٣cوَحَدَّثَنِي سَلَمَةُ بْنُ شَبِيبٍ حَدَّثَنَا الْحَسَنُ بْنُ أَعْيَنَ حَدَّثَنَا مَعْقِلٌ عَنْ أَبِي الزُّبَيْرِ قَالَ قَالَ جَابِرٌ

سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ إِذَا أَحَدُكُمْ أَعْجَبَتْهُ الْمَرْأَةُ فَوَقَعَتْ فِي قَلْبِهِ فَلْيَعْمِدْ إِلَى امْرَأَتِهِ فَلْيُوَاقِعْهَا فَإِنَّ ذَلِكَ يَرُدُّ مَا فِي نَفْسِهِ  

ahmad:15249Idhā Aʿjabat Aḥadakum al-Marʾah Falyaqaʿ > Ahlih Faʾin

[Machine] "And he said, if one of you is attracted to a woman, he should propose to her family, for that will protect him from himself."  

أحمد:١٥٢٤٩

وَقَالَ إِذَا أَعْجَبَتْ أَحَدَكُمُ الْمَرْأَةُ فَلْيَقَعْ عَلَى أَهْلِهِ فَإِنَّ ذَلِكَ يَرُدُّ مِنْ نَفْسِهِ  

ahmad:14672Ḥasan > Ibn Lahīʿah > Abū al-Zubayr > Jābir

[Machine] The Prophet of Allah ﷺ said: "If one of you is attracted to a woman, he should turn to his own wife and engage with her, for that will divert him from his desire."  

أحمد:١٤٦٧٢حَدَّثَنَا حَسَنٌ حَدَّثَنَا ابْنُ لَهِيعَةَ حَدَّثَنَا أَبُو الزُّبَيْرِ عَنْ جَابِرٍ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِذَا أَعْجَبَتْ أَحَدَكُمُ الْمَرْأَةُ فَلْيَعْمِدْ إِلَى امْرَأَتِهِ فَلْيُوَاقِعْهَا فَإِنَّ ذَلِكَ يَرُدُّ مِنْ نَفْسِهِ