May one benefit from work a Jew performed on Shabbos deliberately or inadvertently?
According to the discussion, someone who deliberately cooks food on Shabbos may not eat it even afterward; others may eat it immediately after Shabbos. If the cooking was inadvertent, the food is forbidden on Shabbos both to the cook and to others. After Shabbos, it is permitted to everyone in that case.
A practical halachic question: the final ruling is for your rabbi.
Quote from the source«Other Yidden may not partake of that food on Shabbos, but immediately after Shabbos they may eat from it.»
- Author
- RABBI CHAIM CHAZAN
- Source
- Lemaan Yishmeu — 191 - Fear of Heaven-2, p. 2