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:10588Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq > Aḥmad b. Salamah > Isḥāq b. Ibrāhīm > Jarīr > Yaḥyá b. Saʿīd > Nāfiʿ > Ibn ʿUmar

[Machine] The Messenger of Allah ﷺ said, "Do not sell fruit until its goodness becomes apparent and its harm is removed." He said, "Its goodness becomes apparent with its redness and yellowness."  

البيهقي:١٠٥٨٨أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو بَكْرِ بْنُ إِسْحَاقَ أنا أَحْمَدُ بْنُ سَلَمَةَ ثنا إِسْحَاقُ بْنُ إِبْرَاهِيمَ أنا جَرِيرٌ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ لَا تَبَايَعُوا الثَّمَرَةَ حَتَّى يَبْدُوَ صَلَاحُهَا وَتَذْهَبَ عَنْهَا الْآفَةُ قَالَ يَبْدُو صَلَاحُهَا حُمْرَتُهُ وَصُفْرَتُهُ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ زُهَيْرِ بْنِ حَرْبٍ عَنْ جَرِيرٍ

See similar narrations below:

Collected by Muslim
muslim:1534cZuhayr b. Ḥarb > Jarīr > Yaḥyá b. Saʿīd > Nāfiʿ > Ibn ʿUmar

Do not buy fruit until its good condition becomes clear, and (the danger) of blight is no more. He said: Its good condition becoming clear implies that it becomes red or yellow.  

مسلم:١٥٣٤cحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ حَدَّثَنَا جَرِيرٌ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ لاَ تَبْتَاعُوا الثَّمَرَ حَتَّى يَبْدُوَ صَلاَحُهُ وَتَذْهَبَ عَنْهُ الآفَةُ قَالَ يَبْدُوَ صَلاَحُهُ حُمْرَتُهُ وَصُفْرَتُهُ