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.
abudawud:235[Chain 1] ʿAmr b. ʿUthmān > Muḥammad b. Ḥarb > al-Zubaydī [Chain 2] ʿAyyāsh b. al-Azraq > Ibn Wahb > Yūnus [Chain 3] Makhlad b. Khālid > Ibrāhīm b. Khālid Imām Masjid Ṣanʿāʾ > Rabāḥ > Maʿmar [Chain 4] Muʾammal b. al-Faḍl > al-Walīd > al-Awzāʿī > al-Zuhrī > Abū Salamah > Abū Hurayrah

The prayer (in congregation) began and people stood in their rows. The Messenger of Allah (May peace be upon him) came out (from his residence). When he stood at his proper place he recalled that he did not take a bath. He then said to the people: (Remain standing) at your places. Then he returned to his house and came out upon us after taking a bath while the drops of water were coming down from his head. We were standing in the rows (of prayer). This is the version of Ibn Harb. ‘Ayyash reported in his version: we kept on waiting for him while we were standing until he came upon us after he had taken a bath.  

أبو داود:٢٣٥حَدَّثَنَا عَمْرُو بْنُ عُثْمَانَ حَدَّثَنَا مُحَمَّدُ بْنُ حَرْبٍ حَدَّثَنَا الزُّبَيْدِيُّ ح وَحَدَّثَنَا عَيَّاشُ بْنُ الأَزْرَقِ أَخْبَرَنَا ابْنُ وَهْبٍ عَنْ يُونُسَ ح وَحَدَّثَنَا مَخْلَدُ بْنُ خَالِدٍ حَدَّثَنَا إِبْرَاهِيمُ بْنُ خَالِدٍ إِمَامُ مَسْجِدِ صَنْعَاءَ حَدَّثَنَا رَبَاحٌ عَنْ مَعْمَرٍ ح وَحَدَّثَنَا مُؤَمَّلُ بْنُ الْفَضْلِ حَدَّثَنَا الْوَلِيدُ عَنِ الأَوْزَاعِيِّ كُلُّهُمْ عَنِ الزُّهْرِيِّ عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ قَالَ

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


See similar narrations below:

Collected by Nasāʾī, Aḥmad, Nasāʾī's Kubrá
nasai:792ʿAmr b. ʿUthmān b. Saʿīd b. Kathīr > Muḥammad b. Ḥarb > al-Zubaydī > al-Zuhrī And al-Walīd > al-Awzāʿī > al-Zuhrī > Abū Salamah > Abū Hurayrah

"The Iqamah for prayer was said and the people stood in rows, and the Messenger of Allah ﷺ came out. Then when he stood in the place where he prayed, he remembered that he had not performed Ghusl. He said to the people: 'Stay where you are.' Then he went back to his house, then he came out with his head dripping with water. He performed Ghusl while we were standing in our rows."  

النسائي:٧٩٢أَخْبَرَنَا عَمْرُو بْنُ عُثْمَانَ بْنِ سَعِيدِ بْنِ كَثِيرٍ قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ حَرْبٍ عَنِ الزُّبَيْدِيِّ عَنِ الزُّهْرِيِّ وَالْوَلِيدُ عَنِ الأَوْزَاعِيِّ عَنِ الزُّهْرِيِّ عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ قَالَ

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

ahmad:7804Ibrāhīm b. Khālid > Rabāḥ > Maʿmar > al-Zuhrī > Abū Salamah > Abū Hurayrah

"The Iqamah for prayer was said and the people stood in rows, and the Messenger of Allah ﷺ came out. Then when he stood in the place where he prayed, he remembered that he had not performed Ghusl. He said to the people: 'Stay where you are.' Then he went back to his house, then he came out with his head dripping with water. He performed Ghusl while we were standing in our rows." (Using translation from Nasāʾī 792)   

أحمد:٧٨٠٤حَدَّثَنَا إِبْرَاهِيمُ بْنُ خَالِدٍ عَنْ رَبَاحٍ عَنْ مَعْمَرٍ عَنِ الزُّهْرِيِّ قَالَ أَخْبَرَنِي أَبُو سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ قَالَ

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

nasai-kubra:869ʿAmr b. ʿUthmān b. Saʿīd b. Kathīr > Muḥammad b. Ḥarb > al-Zubaydī > al-Zuhrī And al-Walīd > al-Awzāʿī > al-Zuhrī > Abū Salamah > Abū Hurayrah

"The Iqamah for prayer was said and the people stood in rows, and the Messenger of Allah ﷺ came out. Then when he stood in the place where he prayed, he remembered that he had not performed Ghusl. He said to the people: 'Stay where you are.' Then he went back to his house, then he came out with his head dripping with water. He performed Ghusl while we were standing in our rows." (Using translation from Nasāʾī 792)  

الكبرى للنسائي:٨٦٩أَخْبَرَنِي عَمْرُو بْنُ عُثْمَانَ بْنِ سَعِيدِ بْنِ كَثِيرٍ قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ حَرْبٍ عَنِ الزُّبَيْدِيِّ عَنِ الزُّهْرِيِّ والْوَلِيدُ عَنِ الْأَوْزَاعِيِّ عَنِ الزُّهْرِيِّ عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ قَالَ

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