The Messenger of Allah ﷺ said that Allah said, "When I take away the eyesight of My servant and he bears it patiently, hoping for reward, his recompense with Me is Paradise."
حدثنا يونس حدثنا حرب عن النضر بن أنس
قال رسول الله ﷺ قال الله عز وجل إذا أخذت بصر عبدي فصبر واحتسب فعوضه عندي الجنة
No references are available.
Its isnad is sahih. It is found in Tirmidhi 4/602 number 2400, where he said, "Hasan gharib," by another route.