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.
tabarani:7973Muḥammad b. Yūnus > Isḥāq b. Ibrāhīm > ʿAbd al-Qāhir b. Shuʿayb > Jaʿfar b. al-Zubayr > al-Qāsim > Abū Umāmah

[Machine] We were with the Messenger of Allah ﷺ during a journey, and the Messenger of Allah ﷺ did not wake up until the heat of the sun disturbed him between his shoulders. When he woke up, they waited for him and he performed the prayer, then he stood up and offered prayer with them. After he prayed with them, he said, "When one of you lies down and his eyes overpower him, let him do as follows, for Allah takes the souls during their sleep, and the souls that have not died, He returns them during their sleep."  

الطبراني:٧٩٧٣حَدَّثَنَا مُحَمَّدُ بْنُ يُونُسَ ثنا إِسْحَاقُ بْنُ إِبْرَاهِيمَ ثنا عَبْدُ الْقَاهِرِ بْنُ شُعَيْبٍ ثنا جَعْفَرُ بْنُ الزُّبَيْرِ عَنِ الْقَاسِمِ عَنْ أَبِي أُمَامَةَ قَالَ

كُنَّا مَعَ رَسُولِ اللهِ ﷺ فِي سَفَرٍ فَلَمْ يَسْتَيْقِظْ رَسُولُ اللهِ ﷺ حَتَّى أَذَاهُ حَرُّ الشَّمْسِ بَيْنَ كَتِفَيْهِ فَلَمَّا اسْتَيْقَظَ مَكَثُوا فَأَقَامَ الصَّلَاةَ فَتَقَدَّمَ ثُمَّ صَلَّى بِهِمْ فَلَمَّا صَلَّى بِهِمْ قَالَ «إِذَا رَقَدَ أَحَدُكُمْ فَغَلَبَتْهُ عَيْنَاهُ فَلْيَفْعَلْ هَكَذَا فَإِنَّ اللهَ يَتَوَفَّى الْأَنْفُسَ حِينَ مَوْتِهَا وَالَّتِي لَمْ تَمُتْ فِي مَنَامِهَا»