It is narrated from Abu al-Jawza' that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) forbade women from leaving the Isha prayer (unprayed through the night) for fear that they might get their menses. He meant the Isha prayer.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 1824