I did not see any of our companions who abominated the use of collyrium by a man who fasting. Ibrahim would permit the man who was fasting to apply collyrium with aloes.
Sunan Abi Dawud Book 14, Hadith 67