Benefiting from a Violation of Shabbat
If a Jew does a melacha on Shabbat there is a rabbinic prohibition to benefit from his actions. Some of the factors as to the ramifications of that prohibition are whether it was done intentionally, whether the violation of Shabbat was Biblical, and for whom it was done. Also, if a non-Jew does a melacha there is a prohibition to benefit from his actions. That is covered on the Amirah Lenochri page.
A Non-Observant Jew
- If a non-observant Jew does a melacha intentionally neither him or any other Jew may benefit from his actions on Shabbat. Others may benefit from it immediately after Shabbat but he can't benefit from it forever.
- It is permitted to benefit from an action of a non-observant Jew on Shabbat if one doesn't get a direct benefit from the melacha.
- One can buy a product of a Jewish company even if it violates Shabbat since the majority of its products are made during the week and if one doesn't know when the products one is buying were made one can rely on majority. Someone who is strict will be blessed.
- Shulchan Aruch OC 318:1
- Shemirat Shabbat Kehilchata 1:37 introduction based on Shulchan Aruch OC 257:1
- Hilchot Sava (Rav Zecharya Ben Shlomo 5748 p. 179)
- Igrot Moshe OC 1:123 writes that if a Jew turned on the heat in the apartment building in violation of Shabbat one doesn't have to leave one's apartment. His reasoning is that since benefiting from a violation of Shabbat is only rabbinic and one can't avoid it it is permitted to benefit from if there's a need that would prevent a person from avoiding it (see Pesachim 26a with Rashi s.v. ein and Tosfot s.v. vtisbara). Hilchot Sava (Rav Zecharya Ben Shlomo 5748 p. 179) agrees.
- Yalkut Yosef Haanah Memaaseh Shabbat fnt. 89-91 writes that if the majority of the products of the company are made during the week and one is buying and doesn't know when it was produced one can rely on majority. Even though some say that it isn't considered nullified if at one point a Jew, even a non-frum one, was aware of the difference between the products made on Shabbat and those that weren't (Chazon Ish YD 37:13), Rav Ovadia (Yabia Omer YD 6:24) is lenient.