Prophet Muhammad (PBUH) emphasized on performing Namaz collectively in Jamaat, but do you know the method to perform Namaz in congregation at home with your family members?
One of the basic requirements of Jamaat is that the prayer should be led by a male person because women can only lead prayers for women and not for men. So if there are men present at home whether he is a mature husband, brother, uncle or a son he should lead the prayer.
Then other male persons should stand in the row behind him, and then women of the house should stand in the last rows because this is what Prophet (PBUH) recommended.
The Messenger of Allah (PBUH) said: “The best rows for men are those are the front and the worst are those at the back, and the best rows for women are those at the back and the worst are those at the front.” (Muslim 440)
There are also narrations which explain how Prophet (PBUH) led the prayer in home where men and women both were present. Anas ibn Maalik said that he prayed behind the Messenger (PBUH) and with him was his grandmother and an orphan. He said: The orphan and I stood in a row behind him, and the old woman stood behind us. (Muslim 658)
Scholars also prohibited the standing of man and woman together if they are the only ones praying together, and said that woman should make a row behind the man.
Women Leading Prayers:
The prohibition of women leading the prayers is valid only if the congregation consists of men or it is Jummah otherwise for women it is allowed to lead prayer for a gathering of women.
According to scholars, it is mustahab (recommended or praised) for women to pray together. So if in a gathering or in house women are present then it is preferred that they should pray together in congregation while one leads them.