Sulayman bin Musa (may Allah have mercy on him) said that when the plague spread, Wathilah bin al-Asqa' (may Allah be pleased with him) was in Syria, and many people died there. He would pray the funeral prayer over men and women together: the men nearest to him and the women nearest the qiblah, and he would place the women's heads level with the men's knees.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6921