We used to go on military expeditions with the Prophet ﷺ without our wives, so we asked, "Messenger of Allah, shall we castrate ourselves?" He forbade us from doing so.
حدثنا محمد بن المثنى حدثنا يحيى حدثنا إسماعيل قال حدثني قيس
كنا نغزو مع النبي ﷺ ليس لنا نساء فقلنا يا رسول الله ألا نستخصي فنهانا عن ذلك