Sahih Muslim, Book 16, Hadith 7 (Muslim 3373)

Sa'd b. Abi Waqqas (Allah be pleased with him) reported:

The Messengger of Allah (ﷺ) rejected (the idea) of Uthman b. Muz'unliving in celibacy (saying): And if he (the Holy Prophet) had given me permission We would have got ourselves castrated.