English translation
2264. It was reported from Salm, meaning Ibn Abī Adh-Dhayyāl that some of his companions narrated to him from Sa'eed bin Jubair, from Ibn 'Abbās, that he said: "The Messenger of Allāh ﷺ said: 'There is no prostitution of slave-girls in Islam. And whoever engaged in prostitution in Jāhiliyyah (and a child was born), then it will be ascribed to his owners (the owners of the slave-girl). And whoever claims a child outside of marriage, he will not inherit from him (the child), nor will the child inherit from him.'" (Da'if)
