The manure in the courtyard, if the courtyard is not rented to him, the manure belongs to the lessor. And similarly, in places where the manure is worth nothing and they incur expenses to remove it from the courtyard, it is upon the lessor. And the Tur wrote that this is specifically regarding manure gathered from other animals, for his courtyard acquires it for the lessor, and the owners presumably renounce ownership of the manure; and even if the lessee preceded and lifted them, he did not acquire them [Rashi ibid.]. But that which is gathered from the animals of the lessee, or if he brought manure out from his house to the courtyard, it is his. And the reason is that since he dwells in the courtyard, he does not renounce ownership of his manure. And even that which is gathered from other animals, if the lessee caught them from the air in a vessel and the manure did not rest in the courtyard, the manure is his, for the courtyard of the lessor never acquired it. And there are those who say that this is specifically if he placed the vessel under the animal before it excreted the waste from its body, such that it was not destined to rest in his courtyard; but if the manure preceded the vessel, the lessor acquired it, for air that is destined to rest is considered as if it has already rested [Sma]. And let it not be difficult in your eyes that in a place where the manure is worth nothing and they must incur expenses to remove it, how is it relevant to say that his courtyard should acquire it for him—behold, he does not desire this acquisition? However, it is certainly so: since the courtyard is his, the expenses to clean it necessarily fall upon him, for there is no logic to impose upon every animal owner that he should follow after his animal and if it casts dung in any place he should remove it. But regarding the animals of the lessee, since he dwells there, it is incumbent upon him to remove them; just as if it were worth money he would acquire them, so too if it requires expense to remove them, it falls upon him as well.
הזבל שבחצר אם אין החצר שכורה לו הזבל של המשכיר וכן במקומות שהזבל אינו שוה כלום ומוציאים הוצאות להוציאו מחצר הוי על המשכיר וכתב הטור דדוקא בזבל המתקבץ משארי בהמות דקונה לו חצירו להמשכיר והבעלים מסתמא מפקירים הזבל ואפילו קדם השוכר והגביהן לא זכה בהן [רש"י שם] אבל המתקבץ מבהמותיו של השוכר או שהוציא זבל מביתו לחצר הוא שלו והטעם דכיון דדר בחצר אינו מפקיר זבליו ואף המתקבץ משארי בהמות אם קלטן השוכר מן האויר בכלי ולא נח הזבל בחצר הרי הזבל שלו דמעולם לא זכה חצרו של משכיר וי"א דדוקא בהקדים הכלי תחת הבהמה קודם שהוציאה הריעי מגופה שלא היה עומד לנוח בחצרו אבל אם הקדים הזבל להכלי זכה המשכיר דאויר שסופו לנוח כמונח דמי [סמ"ע] ואל יקשה בעיניך דבמקום שהזבל אינו שוה כלום וצריכין להוציא הוצאות להוציאו מה שייך לומר שיזכה לו חצרו הלא אינו רוצה בזכות הזה האמנם דודאי כן הוא כיון שהחצר שלו בהכרח שחל עליו ההוצאות לנקותו דאין סברא להטיל על כל בעל בהמה שילך אחרי בהמתו ואם תטיל גללים באיזה מקום יוציאם אבל בבהמות של השוכר כיון שדר שם מוטל עליו להוציאן כשם שאם היה שוה כסף היה זוכה בהן כמו כן אם צריך הוצאה להוציאן חל עליו ג"כ: