Dr. Mustafa Khattab, the Clear Quran - Surah Al-Hashr, ayah 5

Translation of Surah Al-Hashr, ayah 5 (59:5)

مَا قَطَعۡتُم مِّن لِّينَةٍ أَوۡ تَرَكۡتُمُوهَا قَآئِمَةً عَلَىٰٓ أُصُولِهَا فَبِإِذۡنِ ٱللَّهِ وَلِيُخۡزِيَ ٱلۡفَٰسِقِينَ ٥
Whatever palm trees you ˹believers˺ cut down or left standing intact, it was ˹all˺ by Allah’s Will, so that He might disgrace the rebellious.1

Foot notes

222698

The Prophet (ﷺ) had instructed the Muslim army not to cut down trees, but some soldiers had to remove some palm trees to be able to enter the fort, to the dismay of Banu An-Naḍîr. When Muslims disagreed on that act, this verse was revealed.