A man reported,

A man asked, "Messenger of Allah, why is it that the believers are tested in their graves except for the martyr?"He replied, "The flashing of swords above his head is trial enough for him."

Azami 3875

Sahih

عن رجل من أصحاب النبي ﷺ

أن رجلا قال: يا رسول الله! ما بال المؤمنين يفتتنون في قبورهم إلا الشهيد؟ قال: كفى ببارقة السيوف على رأسه فتنة.

الأعظمي 3875صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Conditions of the deceased in the grave
Section
Martyr not being tested in his grave
Numbering
Jami al-Kamil 3875 (2nd edition)
Azami 3875