סימן פז סעיף כב
אֵין מְיַלְּדִין אֶת הַבְּהֵמָה בַּשַׁבָּת, וַאֲפִלּוּ לְסַעֲדָהּ, הַיְנוּ שֶׁאוֹחֵז אֶת הַוָּלָד שֶׁלֹּא יִפּוֹל לָאָרֶץ, אָסוּר.
You must not deliver an animal of its offspring on Shabbos. Even to assist it, that is, holding the newborn so that it should not fall to the ground, is forbidden.45Magein Avraham 332. Where there is danger to the life of either animal, you may ask a non-Jew to aid in the delivery. If there is none available you may help in the delivery. [Chazon Ish 59: 5; see also Peri Megadim 332: 2]
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)