Muwatta Malik, Book 21, Hadith 965 (In-Book)

Yahya related to me from Abdullah ibn Abd ar-Rahman ibn Mamar al- Ansari that Ata ibn Yasar said that the Messenger of Allah, may Allah bless him and grant him peace, said, "Shall I tell you who has the best degree among people? A man who takes the rein of his horse to do jihad in the way of Allah. Shall I tell you who has the best degree among people after him? A man who lives alone with a few sheep, performs the prayer, pays the zakat, and worships Allah without associating anything with him."

وَحَدَّثَنِي عَنْ عَبْدِ اللَّهِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ مَعْمَرٍ الأَنْصَارِيِّ، عَنْ عَطَاءِ بْنِ يَسَارٍ، أَنَّهُ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ أَلاَ أُخْبِرُكُمْ بِخَيْرِ النَّاسِ مَنْزِلاً رَجُلٌ آخِذٌ بِعِنَانِ فَرَسِهِ يُجَاهِدُ فِي سَبِيلِ اللَّهِ أَلاَ أُخْبِرُكُمْ بِخَيْرِ النَّاسِ مَنْزِلاً بَعْدَهُ رَجُلٌ مُعْتَزِلٌ فِي غُنَيْمَتِهِ يُقِيمُ الصَّلاَةَ وَيُؤْتِي الزَّكَاةَ وَيَعْبُدُ اللَّهَ لاَ يُشْرِكُ بِهِ شَيْئًا ‏" ‏ ‏.‏

sunnah.com

also referenced under: Book 21, Hadith 4 (USC-MSA)