I heard the Messenger of Allah ﷺ say, "The likeness of the one who strives in the path of Allah, and Allah knows best who strives in His path, is like the one who fasts and stands in prayer, humbly bowing and prostrating."
أخبرنا هناد بن السري عن ابن المبارك عن معمر عن الزهري عن سعيد بن المسيب
سمعت رسول الله ﷺ يقول مثل المجاهد في سبيل الله والله أعلم بمن يجاهد في سبيله كمثل الصائم القائم الخاشع الراكع الساجد
Sourcing, sahih. Ibn Abu Asim reported it in Kitab al-Jihad, 1/182, no. 29, from the hadith of Ibn Mubarak, by this route, and it is also in his Kitab al-Jihad, no. 11, and in Sunan al-Kubra by Nasai, no. 4335. See also the preceding hadith, no. 3126, this being a portion of it.