It is narrated from Sayyiduna Wathilah bin al-Asqa' (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The child belongs to the bed (i.e. the lawful marriage), and for the fornicator there is deprivation; and it is not for a woman to spend anything of her wealth except with her husband's permission."
Hadith Referenceالمعجم الكبير للطبراني / باب الواو / 18421