Yosef Karo, Translation:Shulchan Aruch — Yoreh Deah 291
“ And if one rented the house from an idolater, or rented the house to an idolater, one takes [the mezuzah] and leaves [with it when the lease expires] .Rama: And an idolater who asks that one give her/him a mezuzah [because he/she] wants to affix it to his/her doorway, it is forbidden to give a mezuzah to the idolater. ”
