كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
5  
The Book of Mosques and Places of Prayer
(47)
Chapter: Concession allowing one to not attend the congregation if there is an excuse
(47)
باب الرُّخْصَةِ فِي التَّخَلُّفِ عَنِ الْجَمَاعَةِ، بِعُذْرٍ ‏
Sahih Muslim 33 e

Mahmud b. Rabi' reported:

I well remember the disgorge of the Messenger of Allah (ﷺ) that he did (with water) from a bucket of our house. Mahmud said: 'Itban b. Malik narrated it to me that he had said: Messenger of Allah, I have lost my eyesight, and the rest of the hadith is the same up to these words:" He led us in two rak'ahs of prayer and we detained the Messenger of Allah (ﷺ) for serving him the pudding that we had prepared for him," and no mention has been made of what follows next from the addition made by Yunus and Ma'mar.
وَحَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، أَخْبَرَنَا الْوَلِيدُ بْنُ مُسْلِمٍ، عَنِ الأَوْزَاعِيِّ، قَالَ حَدَّثَنِي الزُّهْرِيُّ، عَنْ مَحْمُودِ بْنِ الرَّبِيعِ، قَالَ إِنِّي لأَعْقِلُ مَجَّةً مَجَّهَا رَسُولُ اللَّهِ صلى الله عليه وسلم مِنْ دَلْوٍ فِي دَارِنَا ‏.‏ قَالَ مَحْمُودٌ فَحَدَّثَنِي عِتْبَانُ بْنُ مَالِكٍ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ إِنَّ بَصَرِي قَدْ سَاءَ ‏.‏ وَسَاقَ الْحَدِيثَ إِلَى قَوْلِهِ فَصَلَّى بِنَا رَكْعَتَيْنِ وَحَبَسْنَا رَسُولَ اللَّهِ صلى الله عليه وسلم عَلَى جَشِيشَةٍ صَنَعْنَاهَا لَهُ ‏.‏ وَلَمْ يَذْكُرْ مَا بَعْدَهُ مِنْ زِيَادَةِ يُونُسَ وَمَعْمَرٍ ‏.‏
Reference : Sahih Muslim 33e
In-book reference : Book 5, Hadith 331
USC-MSA web (English) reference : Book 4, Hadith 1386
  (deprecated numbering scheme)