Shabbos20: 4
גּוֹרְפִין מִלִּפְנֵי הַפְּטָם, וּמְסַלְּקִין לַצְּדָדִין מִפְּנֵי הָרְעִי — דִּבְרֵי רַבִּי דוֹסָא. וַחֲכָמִים אוֹסְרִין. נוֹטְלִין מִלִּפְנֵי בְהֵמָה זוֹ וְנוֹתְנִין לִפְנֵי בְהֵמָה זוֹ בַשַּׁבָּת.
We may sweep out [the feeding-trough] from before a stall ox, and we may move it to the sides because of the excretum — [these are] the words of R’ Dosa. But the Sages prohibit [it]. We may take [feed] from before one animal and place it before another animal on the Sabbath.