Abu Hurayrah (may Allah be pleased with him) reports what the Prophet (may Allah's peace and blessings be upon him) said about the liability for damage caused by an animal or by going down a well or a mine. He clarified that the damage caused by an animal entails no compensation. The same applies to the damage caused by going down a well or a mine and dying therein. This is because the animal, well, and mine cannot be held liable for compensation, nor can their owner be held liable as long as he did not commit any transgression or negligence. Then he mentioned that whoever finds a buried treasure from pre-Islamic times, be it big or small, then he must give out one-fifth of it because he acquired it without any difficulty or burden, and he keeps the rest for himself.
عمدة الأحكام، تأليف: عبد الغني بن عبد الواحد المقدسي، تحقيق: محمود الأرناؤوط، دار الثقافة العربية ومؤسسة قرطبة، الطبعة الثانية، 1408هـ. تيسير العلام، تأليف: عبد الله بن عبد الرحمن البسام، تحقيق محمد صبحي بن حسن حلاق، مكتبة الصحابة ومكتبة التابعين، الطبعة العاشرة، 1426 هـ. تأسيس الأحكام شرح عمدة الأحكام، تأليف: أحمد بن يحي النجمي: نسخة إلكترونية لا يوجد بها بيانات نشر. تنبيه الأفهام شرح عمدة الإحكام، تأليف: محمد بن صالح العثيمين، مكتبة الصحابة ومكتبة التابعين، الطبعة الأولى: 1426هـ. الإلمام بشرح عمدة الأحكام، تأليف: إسماعيل الأنصاري، مطابع دار الفكر، الطبعة الأولى: 1381 هـ صحيح البخاري ، تأليف: محمد بن إسماعيل البخاري ، تحقيق: محمد زهير الناصر، الناشر: دار طوق النجاة الطبعة: الأولى، 1422هـ صحيح مسلم ، تأليف: مسلم بن الحجاج النيسابوري، تحقيق: محمد فؤاد عبد الباقي - الناشر: دار إحياء التراث العربي – بيروت.