Sunan Ibn Majah, Book 6, Hadith 1596 (In-Book)

It was narrated from ‘Abdullah bin ‘Amir bin Rabi’ah, from his father, that a black woman died and the Prophet was not told about that. Then he was informed of it, and he said: “Why did you not tell me?” Then he said to his Companions: “Line up in rows to pray for her,” and he offered the funeral prayer for her.

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

sunnah.com