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.
bayhaqi:2296[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAbdullāh Muḥammad b. Yaʿqūb > Yaḥyá b. Muḥammad b. Yaḥyá > Musaddad > ʿAbd al-Wārith [Chain 2] Abū ʿAmr al-Adīb > Abū Bakr al-Ismāʿīlī > al-Ḥasan b. Sufyān > Shaybān > ʿAbd al-Wārith > ʿAbd al-ʿAzīz b. Ṣuhayb > Anas ؓ

[Machine] The prayer was established and the Prophet ﷺ isolated himself with a man on the side of the mosque, so the people did not get up for prayer until they fell asleep.  

البيهقي:٢٢٩٦أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا يَحْيَى بْنُ مُحَمَّدِ بْنِ يَحْيَى ثنا مُسَدَّدٌ ثنا عَبْدُ الْوَارِثِ (ح) وَأَخْبَرَنَا أَبُو عَمْرٍو الْأَدِيبُ أنبأ أَبُو بَكْرٍ الْإِسْمَاعِيلِيُّ أَخْبَرَنِي الْحَسَنُ بْنُ سُفْيَانَ ثنا شَيْبَانُ ثنا عَبْدُ الْوَارِثِ ثنا عَبْدُ الْعَزِيزِ بْنُ صُهَيْبٍ عَنْ أَنَسٍ ؓ قَالَ

أُقِيمَتِ الصَّلَاةُ وَالنَّبِيُّ ﷺ يُنَاجِي رَجُلًا فِي جَانِبِ الْمَسْجِدِ فَمَا قَامَ إِلَى الصَّلَاةِ حَتَّى نَامَ الْقَوْمُ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ أَبِي مَعْمَرٍ عَنْ عَبْدِ الْوَارِثِ وَرَوَاهُ مُسْلِمٌ عَنْ شَيْبَانَ بْنِ فَرُّوخَ

See similar narrations below:

Collected by Bukhārī
bukhari:642Abū Maʿmar ʿAbdullāh b. ʿAmr > ʿAbd al-Wārith > ʿAbd al-ʿAzīz b. Ṣuhayb > Anas

Once the Iqama was pronounced and the Prophet ﷺ was talking to a man (in a low voice) in a corner of the mosque and he did not lead the prayer till (some of) the people had slept (dozed in a sitting posture) .  

البخاري:٦٤٢حَدَّثَنَا أَبُو مَعْمَرٍ عَبْدُ اللَّهِ بْنُ عَمْرٍو قَالَ حَدَّثَنَا عَبْدُ الْوَارِثِ قَالَ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ صُهَيْبٍ عَنْ أَنَسٍ قَالَ

أُقِيمَتِ الصَّلاَةُ وَالنَّبِيُّ ﷺ يُنَاجِي رَجُلاً فِي جَانِبِ الْمَسْجِدِ فَمَا قَامَ إِلَى الصَّلاَةِ حَتَّى نَامَ الْقَوْمُ