It was narrated that 'Ubadah bin Samit said:
"The Messenger of Allah (ﷺ) ruled that there is no liability for injuries caused by falling into a mines or a well, nor those caused by a beast." (DE)
English reference (DE): Vol. 3, Book 21, Hadith 2675 (DE)
Arabic reference (DE): Book 21, Hadith 2777 (DE)