Treatment for eyes from the Sunnah,

إن شآء الله

وَعَن عُثْمَان حَدَّثَ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي الرَّجُلِ إِذَا اشْتَكَى عَيْنَيْهِ وَهُوَ محرمٌ ضمدهما بِالصبرِ

.

رَوَاهُ مُسلم

‘Uthman told on the authority of Messenger of ALLAH

صلى الله عليه وسلم

that when a man has a complaint in his eyes while he is state of Ihraam , he should apply aloes (aloe vera) to them.

Muslim transmitted it.

Mishkat al-Masabih 2686

……

-

حَدَّثَنَا أَيُّوبُ بْنُ مُوسَى، عَنْ نُبَيْهِ بْنِ وَهْبٍ، قَالَ خَرَجْنَا مَعَ أَبَانِ بْنِ عُثْمَانَ حَتَّى إِذَا كُنَّا بِمَلَلٍ اشْتَكَى عُمَرُ بْنُ عُبَيْدِ اللَّهِ عَيْنَيْهِ فَلَمَّا كُنَّا بِالرَّوْحَاءِ اشْتَدَّ وَجَعُهُ فَأَرْسَلَ إِلَى أَبَانَ بْنِ عُثْمَانَ يَسْأَلُهُ فَأَرْسَلَ إِلَيْهِ أَنِ اضْمِدْهُمَا بِالصَّبِرِ فَإِنَّ عُثْمَانَ - رضي الله عنه - حَدَّثَ عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي الرَّجُلِ إِذَا اشْتَكَى عَيْنَيْهِ وَهُوَ مُحْرِمٌ ضَمَّدَهُمَا بِالصَّبِرِ ‏.‏

Nubaih b. Wabb reported: We went with Aban b. Uthman (in a state of lhram). When we were at Malal the eyes of Umar b. Ubaidullah became sore and, when we reached Rauba' the pain grew intense. He (Nubaib b. Wahb) sent (one) to Aban b. Uthman to ask him (what to do). He sent him (the message) to apply aloes to them, for 'Uthman (رضي الله عنه )

reported that the Messenger of ALLAH

(صلى الله عليه وسلم ) applied aloes to the person whose eyes were sore and he was in the state of Ihram.

Sahih Muslim 1204a

….

عَنْ سَعِيدِ بْنِ زَيْدٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ الْكَمْأَةُ مِنَ الْمَنِّ الَّذِي أَنْزَلَ اللَّهُ عَلَى مُوسَى وَمَاؤُهَا شِفَاءٌ لِلْعَيْنِ ‏"‏ ‏.‏

Sa'id -ibni- Zaid reported about An-Nabi (صلى الله عليه وسلم ) as saying: Al-Kam’atu (Truffles) are a kind of 'Manna' which ALLAH sent down upon Musa and their juice is a medicine for the eyes.

Sahih Muslim 2049e

https://sunnah.com/muslim:2049e

(Translation of the interpretation of the meaning)