The Shulchan Aruch · Orach Chayim
אורח חיים של״בOrach Chayim 332
Siman 332 of 697 in Orach Chayim — 4 se'ifim
הלכות שבתLaws of Shabbat· siman 332
Se’if 1א׳
אֵין מְיַלְּדִין אֶת הַבְּהֵמָה בְּשַׁבָּת.
1. That One Should Not Deliver an Animal on Shabbat. We do not deliver an animal [being born] on Shabbat.
Se’if 2ב׳
אֵין מְפַרְכְּסִין לִבְהֵמָה גִּלְדֵי מַכָּה וְלֹא סָכִין אוֹתָהּ בְּשֶׁמֶן; וְהָנֵי מִילֵי בִּגְמַר מַכָּה, דְּלֵיכָּא אֶלָּא מִשּׁוּם תַּעֲנוּג, אֲבָל בִּתְחִלַּת מַכָּה, דְּאִיכָּא צַעְרָא, שָׁרֵי.
2. We do not scrape a scab off an animal, nor do we lubricate it with oil. This is referring to when the sore is healed, in which case [scraping it off] will only be to pleasure the animal. However, when the sore is new and there is pain, it is permitted [to remove the scab].
Se’if 3ג׳
אִם אָכְלָה כַּרְשִׁינִין הַרְבֵּה וּמִצְטַעֶרֶת, יָכוֹל לַהֲרִיצָהּ בֶּחָצֵר כְּדֵי שֶׁתִּיגַע וְתִתְרַפֵּא.
3. If an animal ate too many horse-beans and it is in pain, it is permitted to have it run around the yard so it becomes exhausted and is healed.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0