Riyad as-Salihin, Book 9, Hadith 1084 (In-Book)

Abu Hurairah (May Allah be pleased with him) reported: The Messenger of Allah said, "The best of the men's rows (in Salat) is the first row and the worst is the last; but the best of the woman's row is the last and the worst of their rows is the first."[Muslim].

وعنه قال‏:‏ قال رسول الله صلى الله عليه وسلم‏:‏ ‏ "‏خير صفوف الرجال أولها، وشرها آخرها، وخير صفوف النساء آخرها، وشرها أولها‏" ‏‏.‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

sunnah.com