From Sahih Bukhari (Hadith 19):
Narrated Abu Said Al-Khudri: Allah's Messenger (ﷺ) said, "A time will soon come when the best property of a Muslim will be sheep which he will take on the top of mountains and the places of rainfall (valleys) so as to flee with his religion from afflictions
Reference: Bukhari 19