If a person masturbates but stops himself before he ejaculates would he need to perform ghusl for namaz? or can he perform namaz? please provide reference thank you.
ghusl is required when;
- Emission of maniy (semen) even if it is not through intercourse.(al-Mawsoo’ah al-Fiqhiyyah (31/195))
So no he doesn't need to perform. But if any sperm comes out after result of this masturbate(even 2 days later), he must perform ghusl. This point is critical because deciding if any sperm came when you pee is so hard.
EDIT: I need to explain last critical sentence. Even After 2 days from masturbate, sperms can leak with your urine. If that happens you need to perform ghusl. Deciding sperm leak is nearly impossible thing. So always perform ghusl when you masturbate. But my real suggestion is stop masturbating and start fasting.
If you ejacuate and perform ghusul and after a while you go to pee and it comes out with the urine you dont need to to perform Ghusul one more time... thats what a scholar said once
Ghusl is only required when you experience feelings of pleasure; so by ejaculating. Otherwise, you can perform wudhu instead.