Sahih al-Bukhari, Book 42, Hadith 5 (Bukhari 2263)

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "No bloodmoney will be charged if somebody dies in a mine or in a well or is killed by an animal; and if somebody finds a treasure in his land he has to give one-fifth of it to the Government."