“Take your adornment at every place of worship” (Quran 7:31) is used as evidence for appropriate covering in prayer.
The hadith “Allah does not accept the prayer of a menstruating-aged woman except with a head-covering” concerns an adult woman; it does not mean praying during menstruation.