I heard Messenger of Allah ﷺ saying, "Allah said, 'If I deprive my slave of his two beloved things (i.e., his eyes) and he remains patient, I will let him enter Paradise in compensation for them.'" (Using translation from Bukhārī 5653)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ إِنَّ اللهَ قَالَ إِذَا ابْتُلِيَ عَبْدِي بِحَبِيبَتَيْهِ ثُمَّ صَبَرَ عَوَّضْتُهُ مِنْهُمَا الْجَنَّةَ يُرِيدُ عَيْنَيْهِ