"I heard Abu Um Amah Al-Bahili say: 'I heard the Messenger of Allah say: "The child is for the bed and the fornicator gets nothing." (Using translation from Ibn Mājah 2007)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ الْوَلَدُ لِصَاحِبِ الْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ