Chatam Sofer on Shulchan Arukh, Orach Chayim Siman 3
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
במג"א ס"ק י"ב אבל לא בפני גוי. נ"ב אפשר דצ"ל אפי' לא בפני גוי ואתי שפיר הראיה דמייתי ממס' ע"ז דף מ"ז ע"ש ונראה אבל לא בפני ע"ז ממש משום פוער עצמו לפעור ואפי' אין עבודתה בכך אסור וצ"ע: