Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates this statement of the Prophet (peace and blessings of Allah be upon him): "Establish beauty in forming the rows during prayer, and the best row among the people in prayer is the first one, and the least good is the last one. And among the rows of women, the best row is the last one, and the least good is the first one."
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 2179
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «التعليق الرغيب» (1/ 174).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم.