It is narrated from Sayyidah Umm Atiyyah (may Allah be pleased with her) that she said: "He (peace and blessings be upon him) forbade us from accompanying funeral processions, but he did not deal with us strictly in this."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21610