The Messenger of Allah ﷺ said, "Injuries caused by mines incur no liability, injuries caused by wells incur no liability, and injuries caused by livestock incur no liability. As for buried treasure, a fifth is due on it."
حدثنا محمود أخبرنا عبيد الله عن إسرائيل عن أبي حصين عن أبي صالح
قال رسول الله ﷺ المعدن جبار والبئر جبار والعجماء جبار وفي الركاز الخمس