If we are in our menstruation period can we go inside Imam Ali (As) shrine and watch his grave without touching it ?

To stay or halt in all other Masjids, and similarly, on the basis of obligatory precaution, to stay in the shrines of the holy Imams. However, there is no harm if one crosses or traverses through a mosque, entering from one gate and exiting from another.