Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:3600Abū Nuʿaym > ʿAbd al-ʿAzīz b. Abū Salamah b. al-Mājishūn > ʿAbd al-Raḥman b. Abū Ṣaʿṣaʿah from his father > Abū Saʿīd al-Khudrī

Abu Saʿid Al-Khudri said to me, "I notice that you like sheep and you keep them; so take care of them and their food, for I have heard Messenger of Allah ﷺ saying, 'A time will come upon the people when the best of a Muslim's property will be sheep, which he will take to the tops of mountains and to the places of rain-falls to run away with his religion in order to save it from afflictions.' "  

البخاري:٣٦٠٠حَدَّثَنَا أَبُو نُعَيْمٍ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ أَبِي سَلَمَةَ بْنِ الْمَاجِشُونِ عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي صَعْصَعَةَ عَنْ أَبِيهِ

عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ ؓ قَالَ قَالَ لِي إِنِّي أَرَاكَ تُحِبُّ الْغَنَمَ وَتَتَّخِذُهَا فَأَصْلِحْهَا وَأَصْلِحْ رُعَامَهَا فَإِنِّي سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ يَأْتِي عَلَى النَّاسِ زَمَانٌ تَكُونُ الْغَنَمُ فِيهِ خَيْرَ مَالِ الْمُسْلِمِ يَتْبَعُ بِهَا شَعَفَ الْجِبَالِ أَوْ سَعَفَ الْجِبَالِ فِي مَوَاقِعِ الْقَطْرِ يَفِرُّ بِدِينِهِ مِنَ الْفِتَنِ