Sunan Ibn Majah, Volume 2, Book 6, Hadith 1533 (DarusSalam)

It was narrated that Abu Sa’eed said: “There was a black woman who used to sweep the mosque, and she passed away at night. The following morning the Messenger of Allah was told of her death. He said: ‘Why did you not call me?’ Then he went out with his Companions and stood at her grave, and said Takbir over her, with the people behind him, and he supplicated for her, then he went away.’”

حَدَّثَنَا أَبُو كُرَيْبٍ، حَدَّثَنَا سَعِيدُ بْنُ شُرَحْبِيلَ، عَنِ ابْنِ لَهِيعَةَ، عَنْ عُبَيْدِ اللَّهِ بْنِ الْمُغِيرَةِ، عَنْ أَبِي الْهَيْثَمِ، عَنْ أَبِي سَعِيدٍ، قَالَ كَانَتْ سَوْدَاءُ تَقُمُّ الْمَسْجِدَ فَتُوُفِّيَتْ لَيْلاً فَلَمَّا أَصْبَحَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ أُخْبِرَ بِمَوْتِهَا فَقَالَ ‏ "‏ أَلاَ آذَنْتُمُونِي بِهَا ‏" ‏ ‏.‏ فَخَرَجَ بِأَصْحَابِهِ فَوَقَفَ عَلَى قَبْرِهَا فَكَبَّرَ عَلَيْهَا وَالنَّاسُ مِنْ خَلْفِهِ وَدَعَا لَهَا ثُمَّ انْصَرَفَ ‏.‏

sunnah.com