The Messenger of Allah ﷺ said, "What is forbidden through breastfeeding is the same as what is forbidden through birth."
أخبرنا محمد بن عبيد قال حدثنا علي بن هاشم عن عبد الله بن أبي بكر عن أبيه عن عمرة قالت سمعت
قال رسول الله ﷺ يحرم من الرضاع ما يحرم من الولادة
No references are available.
[sahih]. It is in Sunan al-Kubra, hadith no. 5436.