When this happened to a spouse, all he or she needs to do is just to make ablution.

Dr. Zainab Al-Alwani, an Instructor of Fiqh and Islamic Studies, Graduate School of Islamic and Social Sciences, said,

If no intercourse took place and no ejaculation, then you are just required to wash the private parts and make wudu’. This applies to both husband and wife.