Fadala bin Ubayd reported,

The Messenger of Allah ﷺ said, "Every deceased person has their deeds sealed off, except for the one who dies as a guard stationed at the frontier in the path of Allah. His deeds continue to grow for him until the Day of Resurrection, and he is safe from the trial of the grave."

Azami 7766

Sahih

عن فضالة بن عبيد قال

قال رسول الله ﷺ: كل ميت يختم على عمله إلا الذي مات مرابطا في سبيل الله، فإنه ينمى له عمله إلى يوم القيامة، ويأمن من فتنة القبر.

الأعظمي 7766صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Virtues of jihad
Section
Virtue of ribat in the cause of Allah عز وجل
Numbering
Jami al-Kamil 7766 (2nd edition)
Azami 7766