Reference for Avodah Zarah 30:8
ואין מוסרין בהמה לרועה שלהן ואין מייחדין עמהם ואין מוסרין להם תינוק ללמדו ספר וללמדו אומנות אבל מעמידין בהמה בפונדקאות של כותים זכרים אצל נקבות ונקבות אצל זכרים ואין צ"ל זכרים אצל זכרים ונקבות אצל נקבות
One may however place cattle in inns kept by Samaritans even male-cattle with women and female-cattle with men, and it goes without saying that males with males and females with females are permitted; so also may one hand over cattle to one of their shepherds and be alone with them, or hand over a child to them to be educated or to be taught a trade.
Explore reference for Avodah Zarah 30:8. In-depth commentary and analysis from classical Jewish sources.