What was narrated concerning the believer being rewarded for the agony of death Sunan Ibn Majah 1451

Arabic hadith text
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا الْوَلِيدُ بْنُ مُسْلِمٍ، حَدَّثَنَا الأَوْزَاعِيُّ، عَنْ عَطَاءٍ، عَنْ عَائِشَةَ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ دَخَلَ عَلَيْهَا وَعِنْدَهَا حَمِيمٌ لَهَا يَخْنُقُهُ الْمَوْتُ فَلَمَّا رَأَى النَّبِيُّ ـ صلى الله عليه وسلم ـ مَا بِهَا قَالَ لَهَا ‏"‏ لاَ تَبْتَئِسِي عَلَى حَمِيمِكِ فَإِنَّ ذَلِكَ مِنْ حَسَنَاتِهِ ‏"
Translation
It wasnarrated from ‘Aishah that the Messenger of Allah (ﷺ)enteredupon her and there was a close relative of hers who was in thethroesof death. When the Prophet (ﷺ) saw how upset she was, hesaid

“Donot grieve for your relative, for that is part of hisHasanat(merits).”