Third: If only one woman is praying with a man, she must stand behind him, not beside him, unlike the case with a male companion.
Fourth: When women form rows behind the men, the best of their rows is the very last, while the front rows are the least virtuous. End quote.
From the foregoing it is clear that the intermingling of men and women is forbidden.
G – Women going out for the Eid prayer
Umm ʿAṭiyyah reported: “The Messenger of Allah ﷺ commanded us to bring the women out on the days of al-Fiṭr and al-Aḍḥā: the unmarried girls, the women who are menstruating, and the girls kept in seclusion. As for the menstruating women, they are to refrain from the prayer—another narration says: from the prayer-ground—but they witness the good and the supplication of the Muslims.” (1)
Al-Shawkānī said: “This hadith and others like it decisively establish the legitimacy of women going to the prayer-ground for both Eids, with no distinction between virgins and previously married women, the young and the elderly, those who are menstruating and others, so long as she is not in her waiting period, her presence does not lead to temptation, and she has no valid excuse.” End quote; see Nayl al-Awṭār (3|306).
Shaykh al-Islam Ibn Taymiyyah said in Majmūʿ (6|458, 459): “He informed the believing women that their prayer in their homes …”