ANSWER:

If they are praying in congregation, this is totally prohibited. Women must stand behind men.

But if they are praying alone and they are mahram to one another, this is permissible. 

QUESTION: Can men and women stand side by side while offering the salah?

Prayer |