Praise be to Allah.
How to purify yourself from minor and major impurity
“Purifying oneself from minor impurity requires making the water reach all parts of the body that have to be washed when doing wudu in the case of minor impurity, and making it reach all parts of the body when cleaning oneself in the case of major impurity (i.e., ghusl).
It also requires removing anything that prevents water reaching those parts , which include the nails: if something prevents water from reaching them, such as nail polish and the like -- with no excuse -- then wudu is not valid, and the same applies to ghusl.” (Al-Mawsu‘ah al-Fiqhiyyah, 5/171)
In Sahih Muslim (243), `Umar ibn al-Khattaab narrated that a man did wudu and omitted a place the size of a fingernail on his foot. The Prophet (peace and blessings of Allah be upon him) saw him and said: “Go back and do your wudu properly,” so he went back, then he prayed.
Al-Nawawi said: “In this hadith, we see that if a person omits a small part of that which must be purified, then his purification is not valid. There is scholarly consensus on this point.” (Sharh Sahih Muslim, 3/132)
Wiping over nail polish
If it is necessary to put something like nail polish on the nails because of some medical problem or the like, then in this case there is a concession (rukhsah) allowing it, and it should be wiped over when doing wudu or ghusl. This “nail polish” comes under the same ruling as dressings that are placed on injuries or wounds.
It says in al-Mawsu‘ah al-Fihqiyyah (15/108):
“With regard to the ruling on wiping over dressings: the bandage or dressing, or whatever treatment is applied to the wound that prevents water reaching it, such as oils and the like, should be wiped over.”
Imam Malik said concerning the nail that has dropped of:
“There is nothing wrong with covering the wound and wiping over it.” (al-Mudawwanah, 1/130. See also al-Awsat by Ibn al-Mundhir, 2/180
“The ruling on dressings on wounds is the same as the ruling on splints. … The same applies to putting the skin of certain vegetables and the like on a cut: it is the same as the ruling on splints. … And the same applies to putting anything on the cut, or on cracks in the heel, if it is necessary to put something on them that solidifies.” (al-Majmu‘, 2/331)
You should try to have this “nail polish ” applied when you are in a state of purity, so as to avoid going against the scholarly view that doing so is obligatory.
If it is possible to delay using this remedy until the time of your menstrual period, when a woman does not need to do wudu, then you must do that, so that your prayers will be offered with complete purification concerning which there will be no uncertainty.
And Allah knows best.