Hadithcore
Sahih Muslim, 1404 c
sahih

This hadith has been narrated on the authority of Isma'il with the same chain of transmitters (and the words are):

" We were young, so we said: Allah's Messenger (ﷺ) , should we not have ourselves castrated? But he (the narrator) did not say; We were on an expedition."

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

References2 variants
In-Book Reference
Book 16, Hadith 15
USC-MSA web (English) reference
Book 8, Hadith 3245 (deprecated numbering scheme)