Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:921aMuḥammad b. Rāfiʿ > ʿAbd al-Razzāq > Ibn Jurayj > al-ʿAlāʾ b. Yaʿqūb from my father > Abū Hurayrah

Did you not see when the man died and his eyes were fixedly open? He (Abu Huraira) said: Yes. He (the Holy Prophet) said: It is due to the fact that when (the soul leaves the body) his eyesight follows the soul.  

مسلم:٩٢١aوَحَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا ابْنُ جُرَيْجٍ عَنِ الْعَلاَءِ بْنِ يَعْقُوبَ قَالَ أَخْبَرَنِي أَبِي أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ يَقُولُ

قَالَ رَسُولُ اللَّهِ ﷺ أَلَمْ تَرَوُا الإِنْسَانَ إِذَا مَاتَ شَخَصَ بَصَرُهُ قَالُوا بَلَى قَالَ فَذَلِكَ حِينَ يَتْبَعُ بَصَرُهُ نَفْسَهُ