Salman reported,

I heard the Messenger of Allah ﷺ say, "Whoever stands guard at the frontier in the path of Allah for a day and a night, it is reckoned for him as the fasting of a month and its night-prayers. If he dies, the deeds he was performing continue to be credited to him, he is granted safety from the trial of the grave, and his provision continues to flow to him."

Nasai 3170

Sahih

أخبرنا عمرو بن منصور قال حدثنا عبد الله بن يوسف قال حدثنا الليث قال حدثني أيوب بن موسى عن مكحول عن شرحبيل بن السمط

عن سلمان قال

سمعت رسول الله ﷺ يقول من رابط في سبيل الله يوما وليلة كانت له كصيام شهر وقيامه فإن مات جرى عليه عمله الذي كان يعمل وأمن الفتان وأجري عليه رزقه

النسائي 3170صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Jihad
Chapter
Virtue of guarding the frontier
Numbering
Darussalam 3170
Nasai 3170