Hazrat Abu Malik Ash'ari (may Allah be pleased with him) once said to his people, "Shall I not show you how the Noble Prophet (peace and blessings be upon him) used to pray?" Accordingly, he formed a row of men first, then a row of children behind the men, and a row of women behind the children.