Yahya related to me from Malik that he had heard that Uthman ibn
Affan and Abdullah ibn Umar and Abu Hurayra used to pray over the
dead, both men and women, in Madina. They would put the men nearer to
the imam and the women nearer to the qibla.
Muwatta Malik Book 16, Hadith 25