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
Hadith No. 820
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih
Al-Albani:
Sahih
Zubair Ali Zai:
Sahih Muslim