I heard the Messenger of Allah ﷺ say, or he said, Abu Qasim ﷺ said, "Injury caused by an animal is without compensation, a well is without compensation, and a mine is without compensation, but in buried treasure a fifth is due."Shuba said, "I have not heard anyone say 'al-rakaiz' except him."
حدثنا حجاج حدثنا شعبة عن محمد بن زياد
سمعت رسول الله ﷺ أو قال قال أبو القاسم ﷺ العجماء جرحها جبار والبئر جبار والمعدن جبار وفي الركاز الخمس قال شعبة ما سمعت أحدا يقول الركائز غيره
Its chain of transmission is sahih, it has already appeared at 2/382, 415, and 437 of the printed edition.