If the nail polish is specifically designed to be water-permeable or breathable, some scholars consider it permissible to wear during ablution and prayer. The focus is on whether water can reach the surface of the nails. However, it is important to note that opinions may vary among scholars, and it is advisable to seek guidance from a knowledgeable Islamic scholar for a more accurate understanding.