La Genèse 38:26 Halakha : Mishneh Torah, Marriage

וַיַּכֵּ֣ר יְהוּדָ֗ה וַיֹּ֙אמֶר֙ צָֽדְקָ֣ה מִמֶּ֔נִּי כִּֽי־עַל־כֵּ֥ן לֹא־נְתַתִּ֖יהָ לְשֵׁלָ֣ה בְנִ֑י וְלֹֽא־יָסַ֥ף ע֖וֹד לְדַעְתָּֽה׃

Juda les reconnut et dit: "Elle est plus juste que moi, car il est vrai que je ne l’ai point donnée à Chéla mon fils." Cependant il cessa, dès lors, de la connaître.

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.