שולחן ערוך, אורח חיים שפ״ה
Shulchan Arukh, Orach Chayim 385
1דין צדוקי ומומר בעירוב. ובו ד סעיפים:צדוקי הרי הוא כישראל ומבטל רשות אבל עירוב אינו מועיל כיון שאינו מודה בעירוב:
Laws of Sadducee and apostates in eruv. Containing 4 paragraphs.A Sadducee is like a Jew and can nullify his domain, but an eruv is not effective since he does not acknowledge the validity of eruv.
2כותי הרי הוא כשאר עכו"ם ואין לו תקנה אלא בשכירות:
A Samaritan is like other non-Jews, and has no remedy except through rental [of his domain].
3ישראל מומר לעבודת אלילים או לחלל שבתות בפרהסיא אפילו אינו מחללו אלא באיסור דרבנן הרי הוא כעכו"ם ואם אינו מחלל אלא בצינע' אפילו מחללו באיסור דאוריית' הרי הוא כישראל ומבטל רשות:
A Jew who has apostatized to idolatry, or who desecrates the Sabbath publicly — even if he violates only a rabbinic prohibition — is like a non-Jew. But if he violates only in private, even a Torah prohibition, he is like a Jew and can nullify his domain.
4ישראל שהמיר והיו לו בתים בשכונת ישראל שעירבו לכל השנה אם אין לו פתח אחר כלל הוא אוסר בכל שבת שחל לאחר שהמיר אבל אם יש לו פתח אחר לשכונת העכו"ם אפילו הוא פתח קטן שלא היה רגיל בו מתחיל' דוחין אותו אצל פתח הפתוח לשכונת העכו"ם:
A Jew who converted [to another religion] and had houses in a Jewish courtyard that made an eruv for the entire year: if he has no other entrance at all, he prohibits [carrying] on every Sabbath that occurs after his conversion. But if he has another entrance to a non-Jewish courtyard — even a small opening that he did not initially use regularly — we push him toward the entrance that opens to the non-Jewish courtyard.