It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There is no compensation for injury caused by an animal; if a well or a mine causes harm to a person, then there is no recompense."
Hadith Referenceالسنن المأثورة / باب جنايات البهائم وما أصيب في بئر أو معدن / 603
Hadith Takhrijصحيح بخارى، الزكاة، باب في الركاز الخمس، رقم: 1499، صحيح مسلم، الحدود، باب جرح العجماء والمعدن ..... الخ، رقم: 1710۔