Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:15666Abū ʿAbd al-Raḥman al-Sulamī And ʾAbū Bakr b. al-Ḥārith al-Aṣbahānī > ʿAlī b. ʿUmar al-Ḥāfiẓ > ʿAbdullāh b. Muḥammad b. ʿAbd al-ʿAzīz > ʿUthmān b. Abū Shaybah > Ṭalḥah b. Yaḥyá > Yūnus > Ibn Shihāb > ʿUbaydullāh > Ibn ʿAbbās

[Machine] He used to say that there is no breastfeeding after the age of two.  

البيهقي:١٥٦٦٦أَخْبَرَنَا أَبُو عَبْدِ الرَّحْمَنِ السُّلَمِيُّ وَأَبُو بَكْرِ بْنُ الْحَارِثِ الْأَصْبَهَانِيُّ قَالَا أنا عَلِيُّ بْنُ عُمَرَ الْحَافِظُ نا عَبْدُ اللهِ بْنُ مُحَمَّدِ بْنِ عَبْدِ الْعَزِيزِ نا عُثْمَانُ بْنُ أَبِي شَيْبَةَ نا طَلْحَةُ بْنُ يَحْيَى عَنْ يُونُسَ عَنِ ابْنِ شِهَابٍ عَنْ عُبَيْدِ اللهِ عَنِ ابْنِ عَبَّاسٍ ؓ قَالَ

كَانَ يَقُولُ لَا رَضَاعَ بَعْدَ حَوْلَيْنِ كَامِلَيْنِ