Sunan An-Nasa'i - سنن النسائي
10. The Book of Leading the Prayer (Al-Imamah) - كتاب الإمامة
32) Chapter: The best row for women and the worst row for men
It was narrated that Abu Hurairah said:
"The Messenger of Allah (ﷺ) said: 'The best rows for men are the front rows and the worst are the last, and the best rows for women are the back rows and the worst are those in the front."'
32) باب ذِكْرِ خَيْرِ صُفُوفِ النِّسَاءِ وَشَرِّ صُفُوفِ الرِّجَالِ
أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ حَدَّثَنَا جَرِيرٌ، عَنْ سُهَيْلٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم . " خَيْرُ صُفُوفِ الرِّجَالِ أَوَّلُهَا وَشَرُّهَا آخِرُهَا وَخَيْرُ صُفُوفِ النِّسَاءِ آخِرُهَا وَشَرُّهَا أَوَّلُهَا "