6הָאִשָּׁה קוֹנָה שְׁפָחוֹת וְאֵינָהּ קוֹנָה עֲבָדִים אֲפִלּוּ קְטַנִּים מִפְּנֵי הַחֲשָׁד וְאִם קָנְתָה אוֹתָם הֲרֵי זוֹ קָנְתָה גּוּפָם כְּאִישׁ. וְיֵרָאֶה לִי שֶׁאֵינָהּ אֲסוּרָה לִקְנוֹת אֶלָּא עֶבֶד בֶּן תֵּשַׁע שָׁנִים וּמִתֵּשַׁע וּלְמַעְלָה. וְכֵן אָסוּר לְאָדָם לְשַׁחְרֵר עֶבֶד כְּנַעֲנִי. וְכָל הַמְשַׁחְרְרוֹ עוֹבֵר בַּעֲשֵׂה שֶׁנֶּאֱמַר (ויקרא כה מו) "לְעלָם בָּהֶם תַּעֲבֹדוּ". וְאִם שִׁחְרְרוֹ מְשֻׁחְרָר כְּמוֹ שֶׁבֵּאַרְנוּ. וְכוֹפִין אוֹתוֹ לִכְתֹּב גֵּט שִׁחְרוּר בְּכָל הַדְּרָכִים שֶׁבֵּאַרְנוּ. וּמֻתָּר לְשַׁחְרְרוֹ לִדְבַר מִצְוָה אֲפִלּוּ לְמִצְוָה שֶׁל דִּבְרֵיהֶם כְּגוֹן שֶׁלֹּא הָיוּ עֲשָׂרָה בְּבֵית הַכְּנֶסֶת הֲרֵי זֶה מְשַׁחְרֵר עַבְדּוֹ וּמַשְׁלִים בּוֹ הַמִּנְיָן. וְכֵן כָּל כַּיּוֹצֵא בָּזֶה. וְכֵן שִׁפְחָה שֶׁנּוֹהֲגִין בָּהּ הָעָם מִנְהַג הֶפְקֵר וַהֲרֵי הִיא מִכְשׁוֹל לַחוֹטְאִים כּוֹפִין אֶת רַבָּה וּמְשַׁחְרְרָהּ כְּדֵי שֶׁתִּנָּשֵׂא וְיָסוּר הַמִּכְשׁוֹל. וְכֵן כָּל כַּיּוֹצֵא בָּזֶה:
A woman may purchase maid-servants, but she should not purchase slaves - even those below the age of majority, lest suspicions of her modesty arise. If she does purchase them, she acquires their physical person as a man would. It appears to me that she is forbidden only to purchase slaves that are nine years old or older. Similarly, it is forbidden for a person to free a Canaanite slave. Anyone who frees such a slave violates a positive commandment, for Leviticus 25:46 states: "And you shall have them work for you forever." Nevertheless, if the master frees him, he attains his freedom, as we have explained. And once he frees him, we compel his master to compose a bill of release for him conforming to all the laws we have described. It is permitted to free a slave for the sake of a mitzvah, even a mitzvah of Rabbinic origin - e.g., if ten free men were not present in the synagogue, a person may free his slave to complete the quorum. Similar laws apply in all analogous situations. Similarly, if people are treating a person's maid-servant in a licentious manner and she presents a stumbling block to sinful people, we compel her master to free her so that she will marry and thus remove the stumbling block. The same principles apply in all analogous situations.