It was narrated from Abu Hurairah that the Allah's Messenger (ﷺ) said:
"The injuries caused by the beast are without liability, and wells are without liability, and mines are without liability."
English reference: Vol. 3, Book 21, Hadith 2673
Arabic reference: Book 21, Hadith 2775
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.