He heard the Messenger of Allah ﷺ say, when the verse of mutual cursing was revealed, "Any woman who introduces into a family someone who does not belong to them has no standing with Allah, and Allah will never admit her into His Paradise. And any man who denies his own child while looking right at him, Allah will veil Himself from him and expose him before the first and the last."
أنه سمع رسول الله ﷺ يقول حين نزلت آية الملاعنة: أيما امرأة أدخلت على قوم من ليس منهم، فليست من الله في شيء، ولن يدخلها الله جنته، وأيما رجل جحد ولده وهو ينظر إليه احتجب الله تعالى منه، وفضحه على رؤوس الأولين والآخرين.
Abu Dawud (2263) and Nasai (3481) narrated it, and Ibn Hibban (4108) and Hakim (2/202) graded it sahih, all of them through the hadith of Yazid bin Abdullah bin Had, from Abdullah bin Yunus, that he heard Saeed bin Abu Saeed Maqburi narrate from Abu Hurairah, and he mentioned it.Hakim said, "Sahih according to the criterion of Muslim," but this is not as he said, for Abdullah bin Yunus, who is Hijazi, was not included by Muslim. Moreover, he is unknown, since no one narrated from him except Yazid bin Abdullah bin Had, and no one but Ibn Hibban deemed him reliable. In Taqrib he is described as "acceptable," meaning when corroborated. He was in fact corroborated by Yahya bin Harb, who narrated it from Saeed bin Abu Saeed Maqburi, from Abu Hurairah, in similar wording.Ibn Majah (2743) narrated it through this route, except that this narrator too is unknown, as stated by Ibn Madini, Daraqutni, Dhahabi, and others. The two routes strengthen one another, and this is the pattern that defines a hasan hadith according to Tirmidhi and others.