ספר המדות, Immoral Behavior / Part I Immoral Behavior / Part I · מח
Sefer HaMiddot 1646
מח. הַמּוֹצִיא זֶרַע לְבַטָּלָה, כְּאִלּוּ הֵבִיא בָּנָיו קָרְבָּן לַעֲבוֹדָה זָרָה גַּם נִדּוֹן בִּסְקִילָה.
48. One who spills his seed in vain, it is as if he brings his children as a sacrifice to idol worship, and also he is judged by stoning.