Question
What is the ruling for someone who practiced masturbation at night during Ramadan, missed Fajr, and then performed ghusl before Dhuhr? Does this invalidate their fast?
Answer
I say, and with God's help: Purity from major impurity is not considered a condition for fasting. If someone misses the opportunity to perform ghusl (ritual washing) before dawn, it is permissible for them to perform ghusl after dawn, and their fast is valid. As for masturbation, it is forbidden for anyone who is not single and is driven by lust to relieve their desires. And God knows best.