Yahya related to me from Malik that he had heard that Uthman ibnAffan and Abdullah ibn Umar and Abu Hurayra used to pray over thedead, both men and women, in Madina. They would put the men nearer tothe imam and the women nearer to the qibla.
USC-MSA web (English) reference: Book 16, Hadith 24
Arabic reference: Book 16, Hadith 546