The Talmud
עבודה זרה דף ס״גAvodah Zarah 63a
Amud a of Avodah Zarah 63 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Avodah Zarah 63a · עבודה זרה ס״ג א
ליחול עלה איסור אתנן למפרע אמר רבי אליעזר כשקדמה והקריבתו
— let the prohibition of harlot's hire take effect upon it retroactively! Rabbi Eliezer said: where she went ahead and offered it.
ה"ד אי דאמר לה קני ליך מעכשיו פשיטא דשרי דהא ליתיה בשעת ביאה ומתנה בעלמא הוא דיהיב לה
What are the circumstances? If he said to her "let it be acquired by you from now" — it is obvious that it is permitted, for it is no longer there at the time of intercourse, and it is a mere gift that he gave her.
ואי דלא אמר לה קני ליך מעכשיו היכי מצי מקרבה (ויקרא כז, יד) ואיש כי יקדיש את ביתו קדש אמר רחמנא מה ביתו ברשותו אף כל ברשותו
And if he did not say to her "let it be acquired by you from now", how can she offer it? The Merciful One said "and when a man shall sanctify his house to be holy" (Leviticus 27:14) — just as his house is in his possession, so everything must be in his possession.
אלא דאמר לה להוי גביך עד שעת ביאה ואי מיצטריך ליך קני מעכשיו
Rather, it is where he said to her: "let it be with you until the time of intercourse; and if you need it, acquire it from now".
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.