Praise be to Allah.
There is nothing wrong with that in cases of necessity, but if it is possible to delay it until night time then that is more on the safe side. End quote.
Shaykh ‘Abd al-‘Azeez ibn Baaz (may Allaah have mercy on him).
Majmoo’ Fataawa al-Shaykh Ibn Baaz (15/264).
In a statement by the Islamic Fiqh Council it says:
The following things are not regarded as breaking the fast: … eye drops, ear drops, having the ears syringed, nose drops, nasal sprays – if one avoids swallowing anything that reaches the throat. End quote.
Majallat al-Majma’ (10/2/454)
And Allaah knows best.