The Messenger of Allah ﷺ burned and cut down the date palms of Banu Nadir at the place called al-Buwayrah. So Allah Most High revealed, "Whatever palm trees you cut down or left standing upon their roots, it was by permission of Allah, and so He would disgrace the defiantly disobedient" [Hashr 59:5].
حدثنا قتيبة حدثنا ليث عن نافع
أن رسول الله ﷺ حرق نخل بني النضير وقطع وهي البويرة فأنزل الله تعالى {ما قطعتم من لينة أو تركتموها قائمة على أصولها فبإذن الله وليخزي الفاسقين}