Sahih Muslim, Book 3, Hadith 102 (Muslim 776)

Ubayy ibn Ka'b narrated it from the Messenger of Allah (ﷺ) that he said:

If a person has sexual intercourse with his wife, but does not experience orgasm, he should wash his organ and perform an ablution.