[Machine] That Wahilah bin al-Asqa' used to pray over the graves of men and women who died from the plague in Sham. The men would be behind him and the women would be behind the qiblah (direction of prayer), and he would position their heads towards the knees of the men.
أَنَّ وَاثِلَةَ بْنَ الْأَسْقَعِ فِي الطَّاعُونِ كَانَ بِالشَّامِ مَاتَ فِيهِ بَشَرٌ كَثِيرٌ فَكَانَ يُصَلِّي عَلَى جَنَائِزِ الرِّجَالِ وَالنِّسَاءِ جَمِيعًا الرِّجَالُ مِمَّا يَلِيهِ وَالنِّسَاءُ مِمَّا يَلِي الْقِبْلَةَ وَيَجْعَلُ رُءُوسَهُنَّ إِلَى رُكْبَتَيِ الرِّجَالِ