It was narrated from Samurah bin Jundab that the Prophet forbade celibacy. Abu Abdur-Rahman said: Qatadah is more reliable and better preserves narrations than Ash'ath but the hadith of Ash'ath (here) appears to be the correct one. Allah, Most High, knows best. (Using translation from Nasāʾī 3214)
أَنَّ رَسُولَ اللهِ ﷺ «نَهَى عَنِ التَّبَتُّلِ» قَالَ لَنَا أَبُو عَبْدِ الرَّحْمَنِ قَتَادَةُ أَثْبَتُ وَأَحْفَظُ مِنْ أَشْعَثَ وَحَدِيثُ أَشْعَثَ هَذَا أَشْبَهُ بِالصَّوَابِ وَاللهُ أَعْلَمُ