A'ish bin Anas (may Allah have mercy on him) said: Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) said to Sayyiduna Miqdad (may Allah be pleased with him): Ask the Messenger of Allah (peace and blessings be upon him) on my behalf about a man who fondles his wife and talks with her, and then madhi (pre-seminal fluid) comes out of him. Were it not that I feel shy of him (peace and blessings be upon him) and that his daughter is married to me, I would have asked him myself. So Sayyiduna Miqdad (may Allah be pleased with him) asked him (peace and blessings be upon him), and the Messenger of Allah (peace and blessings be upon him) said: "He should wash his private organ, then perform ablution, then sprinkle water on his private parts."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17696