The Prophet (ﷺ) prevented `Uthman bin Mazun from that (not marrying), and had he allowed…

Sahih al-Bukhari Book 67 Hadith 12

Sahih al-Bukhari #5074

Wedlock, Marriage (Nikaah) 67:12

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.

Chapter: What is disliked of not marrying and of getting castrated

Grade: Sahih