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.
bukhari:7471Ibn Salām > Hushaym > Ḥuṣayn > ʿAbdullāh b. Abū Qatādah > Abīh Ḥīn Nāmūā > al-Ṣalāh

When the people slept till so late that they did not offer the (morning) prayer, the Prophet ﷺ said, "Allah captured your souls (made you sleep) when He willed, and returned them (to your bodies) when He willed." So the people got up and went to answer the call of nature, performed ablution, till the sun had risen and it had become white, then the Prophet ﷺ got up and offered the prayer.  

البخاري:٧٤٧١حَدَّثَنَا ابْنُ سَلاَمٍ أَخْبَرَنَا هُشَيْمٌ عَنْ حُصَيْنٍ عَنْ عَبْدِ اللَّهِ بْنِ أَبِي قَتَادَةَ عَنْ أَبِيهِ حِينَ نَامُوا عَنِ الصَّلاَةِ

قَالَ النَّبِيُّ ﷺ إِنَّ اللَّهَ قَبَضَ أَرْوَاحَكُمْ حِينَ شَاءَ وَرَدَّهَا حِينَ شَاءَ فَقَضَوْا حَوَائِجَهُمْ وَتَوَضَّئُوا إِلَى أَنْ طَلَعَتِ الشَّمْسُ وَابْيَضَّتْ فَقَامَ فَصَلَّى