(8) باب مَا يُكْرَهُ مِنَ التَّبَتُّلِ وَالْخِصَاءِ
Narrated 'Abdullah:
We used to participate in the holy battles led by Allah's Messenger (ﷺ) and we had nothing (no wives) with us. So we said, "Shall we get ourselvescastrated?" He forbade us that and then allowed us to marry women witha temporary contract (2) and recited to us: -- 'O you who believe ! Make not unlawful the good things which Allah has made lawful for you,but commit no transgression.' (5.87)
Reference: Sahih al-Bukhari 5075
In-book reference: Book 67, Hadith 13
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 7, Book 62, Hadith 13