Mishkat al-Masabih
Mishkat al-Masabih 3320
عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ قَالَ: قَامَ رَجُلٌ فَقَالَ: يَا رَسُولَ اللَّهِ إِنَّ فَلَانًا ابْنِي عَاهَرْتُ بِأُمِّهِ فِي الْجَاهِلِيَّةِ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا دِعْوَةَ فِي الْإِسْلَامِ ذَهَبَ أَمْرُ الْجَاهِلِيَّةِ الْوَلَدُ لِلْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ» . رَوَاهُ أَبُو دَاوُد
Amr ibn Shuayb, from his father, from his grandfather, reported: A man stood and said: ‘Messenger of Allah, so-and-so is my son; I committed fornication with his mother in the pre-Islamic period.’ The Messenger of Allah (peace and blessings be upon him) said: ‘There is no claiming lineage in Islam. The affair of the pre-Islamic period has passed. The child belongs to the bed, and the adulterer gets the stone.’ Abu Dawud transmitted it.