Sahl bin Saad reported,

A man came to the Prophet ﷺ, and he mentioned the hadith, in which he said, "She was pregnant." He denied her pregnancy, and her son was attributed to her.

Azami 6630

Sahih

عن سهل بن سعد

أن رجلا أتى النبي ﷺ فذكر الحديث وقال فيه: وكانت حاملا. فأنكر حملها، وكان ابنها يدعى إليها.

الأعظمي 6630صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Lian
Section
Attributing the child to its mother in lian, and that he is called by her name
Numbering
Jami al-Kamil 6630 (2nd edition)
Azami 6630