Abdullah bin Masud reported,

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.

Bukhari 5071

Sahih

حدثنا محمد بن المثنى حدثنا يحيى حدثنا إسماعيل قال حدثني قيس

عن ابن مسعود رضي الله عنه قال

كنا نغزو مع النبي ﷺ ليس لنا نساء فقلنا يا رسول الله ألا نستخصي فنهانا عن ذلك

البخاري 5071صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Marriage
Chapter
Marrying a man of limited means who has the Quran and Islam
Numbering
Darussalam 5071
Bukhari 5071