There is no study, and there is no link between the two that I am aware of.
You will always be able to find people to tell you that sex or masturbation is bad for you, and they will be creative in the lies they make up to make you feel bad about the act.
You will always be able to find people to tell you that sex or masturbation is bad for you, and they will be creative in the lies they make up to make you feel bad about the act.