Abu Hurairah reported,

The Messenger of Allah ﷺ said, "The best rows for women are the last ones and the worst are the first, and the best rows for men are the first ones and the worst are the last."

Ibn Majah 1000

Sahih

حدثنا أحمد بن عبدة حدثنا عبد العزيز بن محمد عن العلاء عن أبيه عن أبي هريرة و عن سهيل عن أبيه

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

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

ابن ماجه 1000صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Rows of women
Numbering
Darussalam 1000
Ibn Majah 1000