The Funeral Prayer (Salat Al-Janazah)
Man Lā Yaḥḍuruh al-Faqīh|Volume 1|Book 1|Chapter 26
وَ رَوَى هِشَامُ بْنُ سَالِمٍ عَنْ أَبِي عَبْدِ اَللَّهِ عَلَيْهِ اَلسَّلاَمُ أَنَّهُ قَالَ - «لاَ بَأْسَ بِأَنْ يُقَدَّمَ اَلرَّجُلُ وَ تُؤَخَّرَ اَلْمَرْأَةُ أَوْ تُقَدَّمَ اَلْمَرْأَةُ وَ يُؤَخَّرَ اَلرَّجُلُ. -
Hisham ibn Salim narrated from Imam Jafar ibn Muhammad Al-Sadiq عليه السلام that He said: "There is no harm in placing the man in front and the woman behind or in placing the woman in front and the man behind"
- Ṣaḥīḥ al-Faqīh, p. 31