The child is to be attributed to one on whose bed he is born, and for a fornicator there is stoning.
Sahih Muslim Book 17, Hadith 48