Sahih al-Bukhari, Book 67, Hadith 12 (Bukhari 4870)

Narrated Sa`d bin Abi Waqqas:

The Prophet (ﷺ) prevented `Uthman bin Mazun from that (not marrying), and had he allowed him, we would have got ourselves castrated.