The row of one man, one boy and one woman:
The boy will stand on the man’s right side, and the woman will stand alone behind the two of them:
🌸Anas ibn Malik (may Allah be pleased with him) said:
إن رسول الله صلى الله عليه وسلم صلى به وبأته ، أو خالته ، قال : فأقامني عن يمينه ، وأقام المرأة خلفنا .
“The Messenger of Allah ﷺ led me and my mother or my maternal aunt in prayer. He ﷺ made me stand on his right and made the woman stand behind.”
In one narration:
صلى بي رسول الله صلى الله عليه وسلم وبامرأة من أهلي، فأقامني عن يمينه، والمرأة خلفنا .
“The Messenger of Allah ﷺ led me and a woman of my household in prayer. He ﷺ made me stand on his right, while the woman was behind us.”
Imam Ibn Khuzaymah (1537) and Imam Ibn Hibban (may Allah have mercy on him) (2204) declared this hadith “sahih (authentic)”.
Note:
If there is room in the row, children may also stand with the men:
🌸Anas ibn Malik (may Allah be pleased with him) said:
صليت أنا ويتيم في بيتنا خلف النبي صلى الله عليه وسلم، وأمي أم سليم خلفنا۔
“An orphan boy and I prayed behind the Messenger of Allah ﷺ in our house. My mother Umm Sulaym (may Allah be pleased with her) was standing behind us.”
If the children are discerning, know the prayer and its method, and can distinguish between purity and impurity, they may stand with the men.
Some people make small, immature children stand in the row, even though they have not performed wudu. This is not correct at all; it has a bad effect on the imam’s prayer.