Jabir reported God’s Messenger as saying, “A woman advances in the form of a devil and retires in the form of a devil. When one of you is charmed by a woman and she affects his heart he should go to his wife and have intercourse with her, for that will repel what he is feeling.”
Muslim transmitted it.