كتاب الحدود
29  
The Book of Legal Punishments
(5)
Chapter: One who confesses to Zina
(5)
باب مَنِ اعْتَرَفَ عَلَى نَفْسِهِ بِالزِّنَا ‏‏
Sahih Muslim 1694 b

Dawud narrated the hadith with the same chain of transmitters (and the words are):

Allah's Apostle (ﷺ) stood tip (to address the audience) in the evening and praised Allah, glorified Him and then said: What about the people, that as we set out on an expedition, one of you remained behind us and he shrieked like the bleating of a male goat? But he did not mention (these words): People connected with us."
حَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ، حَدَّثَنَا بَهْزٌ، حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، حَدَّثَنَا دَاوُدُ، بِهَذَا الإِسْنَادِ ‏.‏ مِثْلَ مَعْنَاهُ ‏.‏ وَقَالَ فِي الْحَدِيثِ فَقَامَ النَّبِيُّ صلى الله عليه وسلم مِنَ الْعَشِيِّ فَحَمِدَ اللَّهَ وَأَثْنَى عَلَيْهِ ثُمَّ قَالَ ‏"‏ أَمَّا بَعْدُ فَمَا بَالُ أَقْوَامٍ إِذَا غَزَوْنَا يَتَخَلَّفُ أَحَدُهُمْ عَنَّا لَهُ نَبِيبٌ كَنَبِيبِ التَّيْسِ ‏"‏ ‏.‏ وَلَمْ يَقُلْ ‏"‏ فِي عِيَالِنَا ‏"‏ ‏.‏
Reference : Sahih Muslim 1694b
In-book reference : Book 29, Hadith 32
USC-MSA web (English) reference : Book 17, Hadith 4203
  (deprecated numbering scheme)