It is narrated from Hazrat Abu Ayyub Ansari (may Allah be pleased with him) that Hazrat Ubayy bin Ka'b (may Allah be pleased with him) related this hadith to him: I asked the Noble Prophet (peace and blessings be upon him), "If a man has intercourse with his wife but does not ejaculate, what is the ruling?" The Noble Prophet (peace and blessings be upon him) said, "He should wash his private part and perform ablution, then he may offer prayer."