Hadith 3:40
Umm ‘Atiyah (RAA) narrated, ‘We were forbidden to accompany funeral processions, but this prohibition was not mandatory for us.’ Agreed upon.
وَعَنْ أُمِّ عَطِيَّةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: { نُهِينَا عَنِ اتِّبَاعِ الْجَنَائِزِ, وَلَمْ يُعْزَمْ عَلَيْنَا } مُتَّفَقٌ عَلَيْه ِ
Original Reference: Bulugh al-Maram 571