I heard the Messenger of Allah ﷺ say, "Standing guard at the frontier for a single day and night is better than fasting an entire month and praying through its nights. If a man dies while doing so, the reward of the deeds he used to perform continues to flow to him, his provision continues to be granted to him, and he is kept safe from the trial of the grave."
حدثنا عبد الله بن عبد الرحمن بن بهرام الدارمي حدثنا أبو الوليد الطيالسي حدثنا ليث يعني ابن سعد عن أيوب بن موسى عن مكحول عن شرحبيل بن السمط
سمعت رسول الله ﷺ يقول رباط يوم وليلة خير من صيام شهر وقيامه وإن مات جرى عليه عمله الذي كان يعمله وأجري عليه رزقه وأمن الفتان