Yeah, prayer is stopping me from masturbating. Although I dislike it, cuz of ghusl. I don't want to waste water and time doing ghusl.
I don't dislike ghusl, just that I find it unnecessary, and thus I don't want to masturbate. Unnecessary to masterbate, what do you gain by masturbating? Perhaps a bit of pleasure. not worth it imo.
https://islamqa.info/en/83172