It is narrated from Sayyiduna Abu Umamah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Four kinds of people have been cursed in this world and the Hereafter, and the angels have said Amin (to it): a man whom Allah made male but who made himself female and imitated women; a woman whom Allah made female but who made herself male and imitated men; the one who leads a blind person astray from the road; and a man who (as a show of false piety, without reason) keeps away from marriage. And Allah did not make anyone (by nature) one who keeps away from marriage except Yahya bin Zakariyya (peace be upon them both)."
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7796