Jami` at-Tirmidhi, Book 8, Hadith 45 (Tirmidhi 726)

Anas bin Malik narrated that :

a man came to the Prophet and said: "My eyes are bothering me, can I use Kuhl while I am fasting?" He said: "Yes."