Abu Hurairah reported the Messenger of Allah ﷺ as saying: the best of the men’s row is the first and the worst of them is the last, but the best of the women’s rows is the last and the worst of them is the first.
This hadith also encourages people to come together as a community and pray together which has many benefits such as strengthening ties between people, increasing faith, and providing spiritual guidance. It also serves as an example of how Prophet Muhammad ﷺ was mindful of everyone’s needs even when leading prayers himself.