וַיַּכֵּ֣ר יְהוּדָ֗ה וַיֹּ֙אמֶר֙ צָֽדְקָ֣ה מִמֶּ֔נִּי כִּֽי־עַל־כֵּ֥ן לֹא־נְתַתִּ֖יהָ לְשֵׁלָ֣ה בְנִ֑י וְלֹֽא־יָסַ֥ף ע֖וֹד לְדַעְתָּֽה׃
유다가 그것들을 알아보고 가로되 그는 나보다 옳도다 내가 그를 내 아들 셀라에게 주지 아니하였음이로다 하고 다시는 그를 가까이 하지 아니하였더라
Mishneh Torah, Marriage
Before the giving of the Torah, a man would meet a woman at the market and, if both of them wanted to, he would give her her wages and have intercourse with her and thereafter be on his way. Such a woman is called a cult-prostitude. Since the giving of the Torah, the cult-prostitude has become forbidden, for it says "There shall be no cult-prostitude among the daughters of Israel". Therefore, if one has intercourse after the manner of prostitution, without a legal and legitimate marriage, he shall receive Torah lashes because he had had intercourse with a prostitute.