Fiqh-us-Sunnah Volume 4, Funerals and Dhikr, Fiqh 4.056.
Section : Actions to be Discouraged in a Funeral Procession.
While accompanying a funeral procession, it is disliked to:
1. Recite or raise one’s voice or any similar activity.
2. Carrying torches of fire in a funeral procession.
3. Sitting down, when one is following a funeral before those carrying the coffin put it down.
4. Remain seated when a funeral procession passes by.
5. Permit women to accompany a funeral procession.