The Messenger of Allah ﷺ came in to visit her while a close relative of hers was with her, in the throes of death. When the Prophet ﷺ saw the state she was in, he said to her, "Do not grieve over your loved one, for this is among his good deeds."
حدثنا هشام بن عمار حدثنا الوليد بن مسلم حدثنا الأوزاعي عن عطاء
أن رسول الله ﷺ دخل عليها وعندها حميم لها يخنقه الموت فلما رأى النبي ﷺ ما بها قال لها لا تبتئسي على حميمك فإن ذلك من حسناته
[Its chain of transmission is daif] Busiri graded it sahih. Walid, no. 255, practices concealment by smoothing over the chain, and he did not explicitly state that he heard it in an unbroken succession.