Sunan Abi Dawud 2274
سنن أبي داود#2274SahihAmr b. Shu'aib on his father's authority said that his grandfather reported:A man 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. The Messenger of Allah (ﷺ) said: 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
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Al-AlbaniHasan Sahih
Muhammad Muhyi Al-Din Abdul HamidHasan Sahih
Shuaib Al ArnautHasan
Zubair Ali ZaiIsnaad Hasan
In-book reference: 13:100