[Machine] The Prophet ﷺ forbid two types of dates, the Juhur dates and Hubayq dates. He said that there were people who would take their bad dates to give them in charity, so they were prohibited from using these two types of dates. Then, the verse was revealed "Do not give the bad among them in charity" [Quran 2:267].
أَنَّ النَّبِيَّ ﷺ نَهَى عَنْ لَوْنَيْنِ مِنَ التَّمْرِ الْجُعْرُورِ وَلَوْنِ الْحُبَيْقِ قَالَ وَكَانَ نَاسٌ يَتَيَمَّمُونَ شَرَّ ثِمَارِهِمْ فَيُخْرِجُونَهَا فِي الصَّدَقَةِ فَنُهُوا عَنْ لَوْنَيْنِ مِنَ التَّمْرِ فَنَزَلَتْ {وَلَا تَيَمَّمُوا الْخَبِيثَ مِنْهُ تُنْفِقُونَ} [البقرة 267]