From Sahih Bukhari (Hadith 1499):
Narrated Abu Huraira:Allah's Messenger (ﷺ) said, "There is no compensation for one killed or wounded by an animal or by falling in a well, or because of working in mines; but Khumus is compulsory on Rikaz
Reference: Bukhari 1499