It is narrated from Sayyiduna Uqbah bin Amir (may Allah be pleased with him) that I heard the Messenger of Allah (peace and blessings be upon him) say: "Every person who dies has his deeds sealed (at death), except the one guarding the frontiers in the path of Allah, for his (good) deeds continue for him until he is raised (again on the Day of Resurrection)." Abu Ya'la al-Mawsili and Imam Ahmad bin Hanbal also recorded this hadith with their chains, and in Imam Ahmad's narration through Qutaybah this addition is also reported: "And he is kept safe from the trials of the grave."
Hadith Takhrij«أبو عبد الرحمن المقرئ من العبادلة الذين روايتهم عن ابن لهيعة أعدل (من الحفظ)؛ مشرح بن هاعان: مقبول/وثقه ابن معين (من الحفظ)؛ والحديث صحيح من حديث فضالة بن عبيد عند أبي داود والترمذي» «(4362/1) أخرجه مسند أحمد برقم: 16907، 16982، وأخرجه سنن الدارمي برقم: 2425» «(4362/5) أخرجه سنن الترمذي برقم: 1621، وأخرجه سنن أبي داود برقم: 2500، وأخرجه فتح الباري برقم: 6615، وأخرجه مسند البزار برقم: 3753، وأخرجه المستدرك على الصحيحين برقم: 2464، 2684»