Allah's Messenger said (ﷺ), " There will come a time when the best property of a man will be sheep which he will graze on the tops of mountains and the places where rain falls(I.e.pastures) escaping to protect his religion from afflictions."
[Sahih al-bukhari 3300]