Sahl bin Saad reported,

The Messenger of Allah ﷺ said, "Standing guard for a single day in the cause of Allah is better than the world and everything in it. A space the size of one of your whips in Paradise is better than the world and everything in it. An evening journey or a morning journey that a servant makes in the cause of Allah is better than the world and everything in it."

Bukhari 2892

Sahih

حدثنا عبد الله بن منير سمع أبا النضر حدثنا عبد الرحمن بن عبد الله بن دينار عن أبي حازم

عن سهل بن سعد الساعدي رضي الله عنه

أن رسول الله ﷺ قال رباط يوم في سبيل الله خير من الدنيا وما عليها وموضع سوط أحدكم من الجنة خير من الدنيا وما عليها والروحة يروحها العبد في سبيل الله أو الغدوة خير من الدنيا وما عليها

البخاري 2892صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
Virtue of guarding the frontier for a day in the cause of Allah
Numbering
Darussalam 2892
Bukhari 2892