It is narrated from one Companion (may Allah be pleased with him) from among the Companions (may Allah be pleased with them) of the Messenger of Allah (peace and blessings be upon him) that he "used to place the men behind the women (in arranging the biers for the funeral prayer), and place the women on his side, that is, near himself."
Muhammad bin Yahya bin Abi Umar recorded it, and Imam al-Nasa'i recorded it from the narration of Sayyiduna Ibn Umar (may Allah be pleased with them both).