ANSWER:

Who said anything about the masjid?

The hadith refers to the 2 cities and not haramain masjids

QUESTION: I wanted to ask when the dajjal arrives the only 2 safe places are Makkah and Madinah. What if a female is on her periods at the time and she isn’t allowed to enter the mosque . What can she do in such a situation?