Question:
If a fasting person masturbates, does this break his fast? And is he required to atone for it?
Answer:
If a fasting person masturbates and he ejaculates, then he has broken his fast and he is required to make up for the day on which he masturbated. There is no atonement incumbent upon him, because atonement is not required except for sexual intercourse, and he must repent for what he has done.
Shaykh Muhammad bin Saalih al-`Uthaymeen
Fatawa Arkaanul-Islaam, DARUSSALAM, Vol.2, p.661