Offering the funeral prayer at the grave Sunan Ibn Majah 1529

Arabic hadith text
حَدَّثَنَا يَعْقُوبُ بْنُ حُمَيْدِ بْنِ كَاسِبٍ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُحَمَّدٍ الدَّرَاوَرْدِيُّ، عَنْ مُحَمَّدِ بْنِ زَيْدِ بْنِ الْمُهَاجِرِ بْنِ قُنْفُذٍ، عَنْ عَبْدِ اللَّهِ بْنِ عَامِرِ بْنِ رَبِيعَةَ، عَنْ أَبِيهِ، أَنَّ امْرَأَةً، سَوْدَاءَ مَاتَتْ و لَمْ يُؤْذَنْ بِهَا النَّبِيُّ ـ صلى الله عليه وسلم ـ فَأُخْبِرَ بِذَلِكَ فَقَالَ ‏"‏ هَلاَّ آذَنْتُمُونِي بِهَا ‏"‏ ‏.‏ ثُمَّ قَالَ لأَصْحَابِهِ ‏"‏ صُفُّوا عَلَيْهَا ‏"‏ ‏.‏ فَصَلَّى عَلَيْهَا ‏.‏
Translation
It wasnarrated from ‘Abdullah bin ‘Amir bin Rabi’ah, from hisfather,that a black woman died and the Prophet (ﷺ) was not toldaboutthat. Then he was informed of it, and he said

“Why did you nottell me?” Then he said to his Companions: “Line up in rows topray forher,” and he offered the funeral prayer for her.