There are claims and anecdotal reports but (caveat that I'm not an earthquake scientist lol) doesn't seem to have expert consensus and I'm not seeing anything that passes the bar of not being able to be explained by people who've heard that animals predict earthquakes retroactively blaming any behavior they noticed on earthquake awareness.
Is it possible they're just hearing the sound of them (you can often hear the sound they're making a few seconds before it hits where you are - I live in NZ) before us due to their much better hearing?
Review article linked from usgs.gov: https://pubs.geoscienceworld.org/ssa/bssa/article-abstract/1...