IBNHIBBAN 2179:
from Abū Hurayrah —
[Machine] The translation is as follows: "Narrated Abu Huraira: Allah's Messenger ﷺ said, 'The best rows for men to offer the Salah (prayer) are the first rows, and the worst ones are the last ones. The best rows for women to offer the Salah are the last ones, and the worst ones are the first ones.'"
ابن حبّان ٢١٧٩:
عن ابو هريره —
حَدَّثَنَا الْقَعْنَبِيُّ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُحَمَّدٍ عَنِ الْعَلَاءِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «أَحْسِنُوا إِقَامَةَ الصُّفُوفِ فِي الصَّلَاةِ وَخَيْرُ صُفُوفِ الْقَوْمِ فِي الصَّلَاةِ أَوَّلُهَا وَشَرُّهَا آخِرُهَا وَخَيْرُ صُفُوفِ النِّسَاءِ فِي الصَّلَاةِ آخِرُهَا وَشَرُّهَا أَوَّلُهَا»
hadithunlocked.com