סימן צב סעיף ט
הַמְבַשֵּׁל בְּשַׁבָּת בִּשְׁבִיל חוֹלֶה, אָסוּר לְבָרִיא לְאָכְלוֹ בַשַׁבָּת, אֲבָל לְמוֹצָאֵי שַׁבָּת מֻתָּר מִיָּד גַּם לְבָרִיא אִם בִּשְּׁלוֹ יִשְֹרָאֵל, וְעַיֵּן לְעֵיל סִימָן לח סָעִיף ט (שיח).
Food that was cooked on Shabbos for the sake of a patient, is forbidden to a well person on Shabbos.25See Chapter 38: 9. However, the Mishnah Berurah (318: 14) permits food cooked by a non-Jew for a critically-ill person to be eaten even by a totally healthy person. But, after Shabbos it is permitted immediately even for a well person, if the cooking was done by a Jew.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)