Zuhri reported,

Saeed bin Musayab and Abu Salama reported from Abu Hurairah that the Messenger of Allah ﷺ said, "Injury caused by a dumb beast carries no liability, a well carries no liability, and a mine carries no liability, but on buried treasure a fifth is due."

Muslim 4466

Sahih

و حدثنا يحيى بن يحيى وأبو بكر بن أبي شيبة وزهير بن حرب وعبد الأعلى بن حماد كلهم عن ابن عيينة ح و حدثنا محمد بن رافع حدثنا إسحق يعني ابن عيسى حدثنا مالك كلاهما عن الزهري بإسناد الليث مثل حديثه

مسلم 4466صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Legal punishments
Chapter
Injuries caused by animals, mines, and wells carry no liability
Numbering
Darussalam 4466
Muslim 4466