Yahya related to me from Malik from Ibn Shihab that Said ibn al-Musayyab said, "The muhsanat among women are those who have husbands."That referred to the fact that Allah has made fornication haram.
USC-MSA web (English) reference: Book 28, Hadith 39
Arabic reference: Book 28, Hadith 1134