Answered by Ustadh Tabraze Azam
Question: If a person is impure due to masturbation but does not masturbate during the fast will his fast and prayers be valid?
Answer: Wa alaikum assalam wa rahmatullah,
Yes, your fast would be valid in such a case because ritual purity is not a condition for the validity of the fast. However, deliberately praying in a state of ritual impurity would be highly problematic. The solution is to take a bath before prayers, in the case of actual ejaculation, or perform a ritual ablution (wudu) otherwise.
Consider taking the following free class Absolute Essentials of Islam: Basic Hanafi Jurisprudence (STEP)
And Allah Most High alone knows best.
[Ustadh] Tabraze Azam
Checked and approved by Shaykh Faraz Rabbani
Ustadh Tabraze Azam was born and raised in Ipswich, England, a quiet town close to the east coast of England. His journey for seeking sacred knowledge began when he privately memorized the entire Qur’an in his hometown at the age of 16. He also had his first experience in leading the tarawih (nightly-Ramadan) prayers at his local mosque. Year after year he would continue this unique return to reciting the entire Quran in one blessed month both in his homeland, the UK, and also in the blessed lands of Shaam, where he now lives, studies and teaches.