The Book of Prayers (Kitab Al-Salat)
Muslim :: Book 4 : Hadith 1933
Umm Atiyya reported: We were commanded to bring out on old days purdah-observing ladies and those unmarried, and menstruating women came out but remained behind people and pronounced takbir (Allah-o-Akbar) along with them.