The topic of masturbation ("Onanism") is discussed during the September 11, 1871 Grantsville, Utah, School of the Prophets.
Grantsville, Utah, School of the Prophets, September 11, 1871
Pres. Wells spoke about the brethren making their mills especially those in Polygamy and thought that it was a matter that should be attended to, and then spoke about a great many of our young men abusing themselves by the habit of self—polution; or self-abuse, or as the Bible terms it Onanism and was satisfied that, that was one great cause why so many of our young men were not married. And it was a great sin, and would lead to sin insanity and a premature grave. And that it was the duty of every Bishop to see whether their was any one in their respective wards guilty of this degrading [a?] demoralizing habit. . . .
He [William Jeffries] then concluded his remarks by referring to Masturbation or self-abuse, and said that it was one of the most damning habits that any person could get into. . . .