Abu Hurairah reported,

The Messenger of Allah ﷺ said, "The best of the men's rows is the first and the worst is the last, and the best of the women's rows is the last and the worst is the first."

Muslim 985

Sahih

حدثنا زهير بن حرب حدثنا جرير عن سهيل عن أبيه

عن أبي هريرة قال

قال رسول الله ﷺ خير صفوف الرجال أولها وشرها آخرها وخير صفوف النساء آخرها وشرها أولها

مسلم 985صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer
Chapter
Straightening and establishing the rows, the virtue of the first row and then those following it, crowding at the first row and racing to it, giving precedence to people of virtue and bringing them closer to the imam
Numbering
Darussalam 985
Muslim 985