The Prophet ﷺ forbade celibacy.
أن النبي ﷺ نهي عن التبتل.
No references are available.
Nasai (3214) and Ahmad (24943) both narrated it through Khalid bin Harith, who said, "Ashath narrated to us, from Hasan, from Saad bin Hisham, from Ayesha," and he related it. Its isnad is sahih. Ashath is Ibn Abdul-Malik Hamrani, a trustworthy narrator among the men of the Sahih.Tirmidhi said, following the hadith of Samura, "The hadith of Samura is hasan gharib, and Ashath bin Abdul-Malik narrated this hadith from Hasan, from Saad bin Hisham, from Ayesha. It is said that both hadiths are sahih." Nasai said, "Qatada is more reliable and has better memory than Ashath, and the hadith of Ashath is closer to being correct."In Ilal Ibn Abu Hatim (1/402), he asked his father about a hadith narrated by Ashath bin Abdul-Malik, from Hasan, from Saad bin Hisham, from Ayesha, that the Prophet ﷺ forbade celibacy. It was also narrated by Muaz bin Hisham, from his father, from Qatada, from Hasan, from Samura, that the Prophet ﷺ forbade celibacy. I said, "Which of them is more correct?" My father said, "Qatada has better memory than Ashath, and I consider both hadiths sahih, because Saad bin Hisham has a story concerning his question to Ayesha about giving up marriage, meaning celibacy."So they are two separate hadiths, and Hasan had two teachers, Samura bin Jundab and Saad bin Hisham, and neither of them undermines the other.Tirmidhi said in Ilal al-Kabir, "I asked Muhammad (Bukhari) about the hadith, and he said, 'The hadith of Hasan from Samura is preserved, and the hadith of Hasan from Saad bin Hisham, from Ayesha, is hasan.'"I say, Saad bin Hisham Ansari Madani is trustworthy, among the narrators relied upon by the compilers of the major hadith collections, and he was martyred in the land of Hind.