Abu Saeed Khudri reported,

There was a black woman who used to clean the mosque. She died during the night, and when morning came the Messenger of Allah ﷺ was informed of her death. He said, "Why did you not notify me about her?" He then went out with his companions, stood at her grave, said the takbir over her with the people behind him, prayed for her, and then departed.

Ibn Majah 1533

Daif

حدثنا أبو كريب حدثنا سعيد بن شرحبيل عن ابن لهيعة عن عبيد الله بن المغيرة عن أبي الهيثم

عن أبي سعيد قال

كانت سوداء تقم المسجد فتوفيت ليلا فلما أصبح رسول الله ﷺ أخبر بموتها فقال ألا آذنتموني بها فخرج بأصحابه فوقف على قبرها فكبر عليها والناس خلفه ودعا لها ثم انصرف

ابن ماجه 1533ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Funerals
Chapter
Prayer over the grave
Numbering
Darussalam 1533
Ibn Majah 1533