Question
What is the ruling on a fasting person who ejaculates by looking at his wife?
Answer
Whoever ejaculates by looking at his wife, even at her private parts repeatedly, or by thinking, and if he continues to look and think until he ejaculates intentionally, his fast is not invalidated, although this action is forbidden for him; because there was no sexual intercourse in either form or meaning; it is similar to a wet dream, unlike direct contact. See Bada'i al-Sana'i 2: 92, and Al-Durr al-Mukhtar 2: 98.