Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) said: "The best row of the men is the front one and the least good is the last one, and the best row of the women is the last one and the least good row is the front one."
Ahmad recorded it through the narration of Sharik from Ibn Aqil, and Abu Ya'la recorded it; his narrators are thiqat (trustworthy), and Ibn Aqil is not among them.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 2519