On what is said when the dying person's eyes become fixed

Riyad as-Salihin (The Meadows of the Righteous)

by Imam Nawawi

151. Chapter: On what is said when the dying person's eyes become fixed

919. Umm Salama said, "The Messenger of Allah, may Allah bless him and grant him peace, visited Abu Salama when his eyes became fixed and glazed over. Then he said, 'When the spirit is taken, sight follows it.' Then some of the people of his family began to shout. He said, 'Only ask for good for yourselves. The angels say 'Amen' to what you say.' Then he said, 'O Allah, forgive Abu Salama and raise his degree among those who are guided and let him have a successor among those who remain. Forgive us and him, O Lord of the worlds, and make his grave wide for him and give him illumination in it.'" [Muslim]