Sayyiduna Abi (may Allah be pleased with him) says: I asked the Messenger of Allah (peace and blessings be upon him) about a man who has intercourse with his wife, but he does not ejaculate? The Prophet (peace and blessings be upon him) said: He should wash the part of his private area that touched the woman, perform ablution, and then offer prayer.