Anas bin Malik reported,

I heard the Prophet ﷺ say, "Allah said, 'When I test My servant by taking his two beloved ones and he bears it patiently, I will compensate him with Paradise in their place,'" meaning his two eyes.Ashath bin Jabir and Abu Zilal bin Hilal corroborated this, narrating from Anas from the Prophet ﷺ.

Bukhari 5653

Sahih

حدثنا عبد الله بن يوسف حدثنا الليث قال حدثني ابن الهاد عن عمرو مولى المطلب

عن أنس بن مالك رضي الله عنه قال

سمعت النبي ﷺ يقول إن الله قال إذا ابتليت عبدي بحبيبتيه فصبر عوضته منهما الجنة يريد عينيه تابعه أشعث بن جابر وأبو ظلال بن هلال عن أنس عن النبي ﷺ

البخاري 5653صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sick
Chapter
Virtue of one who lost his sight
Numbering
Darussalam 5653
Bukhari 5653