Dr. Mustafa Khattab, the Clear Quran - 59:5

Translation for 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

77503

 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.