Cooking on YT

Question

According to Sephardic Halacha if someone accidentally or intentionally cooked on Yom Tov from a non pre-existing flame can someone else to get benefit/eat from that food? Thanks and if you wouldn't mind explaining why I would really appreciate it thanks a lot.

Answer

Answered by Chaim Yisrael Abadi

Yes if by accident. The same would be on Shabbos in many cases. Look at Shulchan Aruch Orach Chaim Siman 318 at first 2 se'iffim. By accident, meaning he thought he can use that fire. Intentionally no CYA