In a congregational row formation, adult men stand in the first rows, followed by boys, then hermaphrodites, and women stand in the final rows.

Rulings on Following the Imam (الإقتداء) and Row Formations