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.'"
A Jewish boy used to serve the Prophet (ﷺ) and became ill. The Prophet (ﷺ) went to pay him a visit and said to him, "Embrace Islam," and he did embrace Islam. Al-Musaiyab said: When Abu Talib was on his deathbed, the Prophet (ﷺ) visited him.
The Prophet (ﷺ) said, "None of you should wish for death because of a calamity befalling him; but if he has to wish for death, he should say: "O Allah! Keep me alive as long as life is better for me, and let me die if death is better for me.' "