Ayesha reported,

Aisha reported that the Prophet ﷺ entered upon her while a man was with her. He asked, "Who is this?"She replied, "He is my brother through breastfeeding."He said, "Be careful about whom you admit into your presence, for breastfeeding establishes kinship only when it satisfies hunger."

Ibn Majah 1945

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا وكيع عن سفيان عن أشعث بن أبي الشعثاء عن أبيه عن مسروق

عن عائشة

أن النبي ﷺ دخل عليها وعندها رجل فقال من هذا قالت هذا أخي قال انظروا من تدخلن عليكن فإن الرضاعة من المجاعة

ابن ماجه 1945صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Marriage
Chapter
No breastfeeding after weaning
Numbering
Darussalam 1945
Ibn Majah 1945