The Messenger of Allah ﷺ burned and cut down the palm trees of Banu Nadir at al-Buwayrah. Qutayba and Ibn Rumh added in their narration that Allah then revealed, "Whatever palm trees you cut down or left standing on their roots, it was by the permission of Allah, and so that He might disgrace the defiantly disobedient" [Hashr 59:5].
حدثنا يحيى بن يحيى ومحمد بن رمح قالا أخبرنا الليث و حدثنا قتيبة بن سعيد حدثنا ليث عن نافع
أن رسول الله ﷺ حرق نخل بني النضير وقطع وهي البويرة زاد قتيبة وابن رمح في حديثهما فأنزل الله عز وجل {ما قطعتم من لينة أو تركتموها قائمة على أصولها فبإذن الله وليخزي الفاسقين}