Mother of the Believers, Lady Aisha Siddiqa (may Allah be pleased with her) narrates: The command was revealed in the Qur'an that prohibition is established by ten specified instances of breastfeeding, then this command was abrogated and changed to five specified instances. When the Prophet Muhammad (peace and blessings be upon him) passed away, these verses were among those things which we used to recite in the Qur'an.
Hadith Referenceصحیح ابن حبان / كتاب الرضاع / 4222
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح: م - وهو مكرر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح