The Difference Between the Ninth and Tenth for a Minyan(Masechet Berachot Daf מז: Perek 7 Siman 22)
(condensed from Ein Ayah, Berachot 7:22)
Gemara: How could [an eved count as the tenth]? Wasn’t a story related that Rabbi Eliezer did not find a tenth in shul and he released an eved from servitude in order to have a minyan? The story was that two were missing: one eved was released, and the other counted as is.
Ein Ayah: Since the element of creating the group is accomplished by the tenth, we can overlook the inability to choose only in regard to the tenth. However, regarding the nine who make up the individuals, who have to be able to complete themselves with clear recognition and free choice, an eved cannot join. The story of two avadim where one was freed and one did not need to be freed stresses the distinction between the shleimut of the individual and that of the nation, which is a foundation of the Torah upon which the covenant was made.