عَنْ فَضَالَةَ بْنِ عُبَيْدٍ رَضِيَ اللَّهُ عَنْهُ قَالَ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَقُولُ كُلُّ مَيِّتٍ يُخْتَمُ عَلَى عَمَلِهِ إِلَّا الَّذِي مَاتَ مُرَابِطًا فِي سَبِيلِ اللَّهِ فَإِنَّهُ يَنْمُو عَمَلُهُ إِلَى يَوْمِ الْقِيَامَةِ وَيَأْمَنُ فِتْنَةَ الْقَبْرِ
It is narrated from Sayyiduna Fadala bin Ubaid (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: The deeds of every deceased person are ended, except for the person who dies in the state of ribat (guarding) in the way of Allah; his deeds continue to increase until the Day of Resurrection, and he remains safe from the trial of the grave.