The Messenger of Allah ﷺ said, "An injury caused by a dumb beast carries no compensation, a well carries no compensation, and a mine carries no compensation. As for buried treasure, a fifth of it is due."
حدثني يحيى عن مالك عن ابن شهاب عن سعيد بن المسيب وأبي سلمة بن عبد الرحمن
أن رسول الله ﷺ قال جرح العجماء جبار والبئر جبار والمعدن جبار وفي الركاز الخمس