לֹא־תִהְיֶ֥ה קְדֵשָׁ֖ה מִבְּנ֣וֹת יִשְׂרָאֵ֑ל וְלֹֽא־יִהְיֶ֥ה קָדֵ֖שׁ מִבְּנֵ֥י יִשְׂרָאֵל׃
Di antara anak-anak perempuan Israel tidak boleh ada perempuan pelacur, dan di antara anak-anak laki-laki Israel tidak boleh ada laki-laki yang melacurkan diri.
Chizkuni
אם אדוניו יתן לו אשה, “If his ‘master’ will give him a wife;” according to Rashi, the “wife” is a gentile slave of his master, and this verse is the halachic source that this is not only permitted, but that he may insist on his servant having a woman with whom he, and only he, performs marital union. (Mechilta, chapter 2, on this verse) The logic according to our author appears to be that seeing that the master is at any rate obligated to provide for the Jewish wife and children of such a “slave,” he may recover some of the expense giving this Jewish “slave” a Canaanite slave-woman and the children from such a union shall remain his property. Targum Onkelos adds to his translation that the master is not permitted to “give” a female Jewish salve to such a “slave”, as no Jewish woman may be forced to marry someone. If the “slave” had married a Jewish slave of his master during his stay there she will leave with him without the master receiving any compensation. Rashi points out here that proof that the master has no control over the body of a Jewish slave is that the Torah legislates that if such a Hebrew slave sold by her father reaches earlier than usual puberty, she immediately can leave her master. He quotes 21,7 as well as Deuteronomy 15,12 as his proof.
Siftei Chakhamim
From here. . . his master has the right. . . You might ask: Perhaps “his master should give him a wife” means giving him an adult Jewess who sold herself as a slave. [The verse stating that the Hebrew handmaid shall go free after six years refers only to a minor who was sold by her father. Thus it is possible to have an adult Jewess as a slave]? And a gentile handmaid would then be forbidden to a Hebrew slave, [as she is to other Jewish men,] for it is written: “There shall not be a male prostitute from the B’nei Yisrael” (Devarim 23:18). The answer is: Rashi holds that a woman may not sell herself as a slave, because it is written (Vayikra 25:39), “If your brother becomes impoverished and sells himself to you,” implying: your brother and not your sister.
Or HaChaim
Hearing Sarah's words, Abraham concurred with her. This can be understood on two levels. 1) Abraham had never intended that Hagar's status should change as a result of the new arrangements; nonetheless he did not consider himself as a קדש, male prostitute, when he slept with her. 2) Originally, Abraham thought that Hagar became free as a result of his sleeping with her as a legal arrangement. He had not paid attention to the finer nuances of Sarah's words when she offered, or pressed, Hagar on him as a sleeping partner. Had he understood Sarah correctly he might not have agreed to sleep with Hagar at all, worrying that his sleeping with her would stamp him as a קדש, male prostitute. This may well be the reason why during the fourteen years that elapsed between the birth of Ishmael and that of Isaac we never hear that Abraham slept with Hagar again.
Rashi
“נשג”א” – The sages decreed impurity regarding them (Gentile women) for the matter of niddah (ritual impurity related to menstruation) on a rabbinic level. And even though a Gentile woman’s blood does not cause impurity according to Torah law, since she is compared to an animal, the sages decreed it. They also decreed impurity for a maidservant (shifchah) due to her status as a Gentile woman, as if one were to enter into a marital relationship with her. And concerning a married woman (eshet ish), Gentiles do have the concept of being considered a “married woman” (be’ulat ba’al), as it is written, “and she is [another man’s] wife” (Genesis 20:3). And regarding an Israelite who is accustomed to engaging with them: since he would be with her while she is in a state of niddah, he may come to have relations with a Jewish woman while she is in niddah. Furthermore, he may come to marry a maidservant, thereby violating the prohibition of “There shall not be a harlot among the daughters of Israel” (Deuteronomy 23:18). He may also come to marry a Gentile woman, violating the prohibition of “You shall not intermarry with them” (Deuteronomy 7:3). And he may come to have relations with a married Jewish woman (eshet ish Yisrael).