[Machine] The Prophet Muhammad, ﷺ , camped at Akamah near the fortress of Taif. He besieged them for about ten nights, and the people of Thaqif fought him with nobility and stones while they were inside the fortress of Taif. The casualties were numerous among the Muslims and the people of Thaqif. The Muslims cut down some of the Thaqif's grapevines to provoke them. Umar ibn al-Khattab said, "O Messenger of Allah, these grapevines are still in their season and their fruits have not been eaten yet." So he ordered them to cut down only what had been eaten from the first harvest.
فَنَزَلَ رَسُولُ اللهِ ﷺ بِالْأَكَمَةِ عِنْدَ حِصْنِ الطَّائِفِ فَحَاصَرَهُمْ بِضْعَ عَشْرَةَ لَيْلَةً وَقَاتَلَتْهُ ثَقِيفٌ بِالنَّبْلِ وَالْحِجَارَةِ وَهُمْ فِي حِصْنِ الطَّائِفِ وَكَثُرَتِ الْقَتْلَى فِي الْمُسْلِمِينَ وَفِي ثَقِيفٍ وَقَطَعَ الْمُسْلِمُونَ شَيْئًا مِنْ كُرُومِ ثَقِيفٍ لِيَغِيظُوهُمْ بِذَلِكَ قَالَ عُرْوَةُ وَأَمَرَ رَسُولُ اللهِ ﷺ الْمُسْلِمِينَ حِينَ حَاصَرُوا ثَقِيفًا أَنْ يَقْطَعَ كُلُّ رَجُلٍ مِنَ الْمُسْلِمِينَ خَمْسَ نَخَلَاتٍ أَوْ حَبَلَاتٍ مِنْ كُرُومِهِمْ فَأَتَاهُ عُمَرُ بْنُ الْخَطَّابِ ؓ فَقَالَ يَا رَسُولَ اللهِ إِنَّهَا عَفًا لَمْ تُؤْكَلْ ثِمَارُهَا فَأَمَرَهُمْ أَنْ يَقْطَعُوا مَا أُكِلَتْ ثَمَرَتُهُ الْأَوَّلَ فَالْأَوَّلَ