Sahih al-Bukhari, Book 75, Hadith 13 (Bukhari 5439)
Narrated Anas bin Malik:
I heard Allah's Messenger (ﷺ) 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.'"