Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 538…
“ If he did work for others such that it is impossible to penalize him, like if he is a tailor or a scribe who does work for others, they would excommunicate him and lash him (Beit Yosef and Rabbenu Yerucham) . ”
