Nail polish as a product it is not haram (prohibited). However, there are two issues that Muslim women in particular should know about nail polish.
Firstly, a woman can pray with nail polish; but when she performs her ablution, she has to remove it, otherwise, both her ablution and her Prayers will not be valid. In other words, if she removes the nail polish, takes her ablution, and then puts the nail polish back, then she can pray with it.
Secondly, nail polish is an ornament. Therefore, like all other ornaments, it cannot be worn in public in the presence of the opposite sex (men). A woman can only have it in front of her husband, children, and all other women or men who are her mahrams (i.e., those she can never marry, like her father, uncle, etc.). If a woman really wants to put nail polish and goes out, then she should cover her hands with gloves.
As for drinking habit, one should know that the Prophet (peace and blessings be upon him) declared that not only is Khamr (wine or alcohol) prohibited but that the definition of Khamr extends to any substance that intoxicates, in whatever form or under whatever name it may appear. Thus, beer and similar drinks are haram.
The Prophet (peace and blessings be upon him) was once asked about certain drinks made from honey, corn, or barley by the process of fermenting them until they became alcoholic. The Prophet (peace and blessings be upon him) succinctly replied, “Every intoxicant is Khamr, and every Khamr is haram.” (Reported by Muslim.)
Also, `Umar (may Allah be pleased with him) declared from the pulpit of the Prophet (peace and blessings be upon him) that “Khamr is that which befogs the mind.” (Reported by Al-Bukhari and Muslim.)
Islam takes an uncompromising stand in prohibiting intoxicants, regardless of whether the amount is little or much. If an individual is permitted to take but a single step along this road, other steps follow; he starts walking and then running, and does not stop at any stage. That is why the Prophet (peace and blessings be upon him) said, “Of that which intoxicates in a large amount, a small amount is haram.” (Reported by Ahmad Abu Dawud and At-Tirmidhi.) Also, “If a bucketful intoxicates, a sip of it is haram.” (Reported by Ahmad, Abu Dawud and At-Tirmidhi.)