Mishkat
al-Masabih
مشكاة المصابيح
Marriage
كتاب النكاح
Chapter 14c: Invoking Curses - Section 3
باب اللعان - الفصل الثالث
Mishkat al-Masabih 3320
‘Amr b. Shu'aib, on his father’s authority, said that his grandfather told of a man who got up and said, “ Messenger of Allah , so and so is my son; I had illicit intercourse with his mother in the pre-Islamic period.” Allah's Messenger ﷺ replied, “There is no unlawful claiming of paternity in Islam. What was done in pre-Islamic times has been annulled. The child is attributed to the one on whose bed it is born, and the fornicator is deprived of any right.” Abu Dawud transmitted it.
عَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ قَالَ: قَامَ رَجُلٌ فَقَالَ: يَا رَسُولَ اللَّهِ إِنَّ فَلَانًا ابْنِي عَاهَرْتُ بِأُمِّهِ فِي الْجَاهِلِيَّةِ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا دِعْوَةَ فِي الْإِسْلَامِ ذَهَبَ أَمْرُ الْجَاهِلِيَّةِ الْوَلَدُ لِلْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ» . رَوَاهُ أَبُو دَاوُد
In-book reference: Mishkat al-Masabih Book 13 Chapter 14c Hadith 1