Abu Dawud Book 33, Hadith Number 4421.
Narated By Al-Lajlaj al-Amiri : I was working in the market. A woman passed carrying a child. The people rushed towards her, and I also rushed along with them.
I then went to the Prophet (PBUH) while he was asking: Who is the father of this (child) who is with you? She remained silent.
A young man by her side said: I am his father, Apostle of Allah!
He then turned towards her and asked: Who is the father of this child with you?
The young man said: I am his father, Apostle of Allah! The Apostle of Allah (PBUH) then looked at some of those who were around him and asked them about him. They said: We only know good (about him).
The Prophet (PBUH) said to him: Are you married? He said: Yes. So he gave orders regarding him and he was stoned to death.
He (the narrator) said: We took him out, dug a pit for him and put him in it. We then threw stones at him until he died. A man then came asking about the man who was stoned.
We brought him to the Prophet (PBUH) and said: This man has come asking about the wicked man.
The Apostle of Allah (PBUH) said: He is more agreeable than the fragrance of musk in the eyes of Allah. The man was his father. We then helped him in washing, shrouding and burying him. (The narrator said:) I do not know whether he said or did not say “in praying over him.” This is the tradition of Abdah, and it is more accurate.