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.”