The Messenger of Allah ﷺ said, "Injury caused by a well carries no liability, injury caused in a mine carries no liability, and injury caused by livestock carries no liability. On buried treasure, a fifth is due."
حدثنا محمد بن رمح بن المهاجر أخبرنا الليث عن أيوب بن موسى عن الأسود بن العلاء عن أبي سلمة بن عبد الرحمن
عن رسول الله ﷺ أنه قال البئر جرحها جبار والمعدن جرحه جبار والعجماء جرحها جبار وفي الركاز الخمس