Abdullah bin Umar reported,

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].

Bukhari 4884

Sahih

حدثنا قتيبة حدثنا ليث عن نافع

عن ابن عمر رضي الله عنهما

أن رسول الله ﷺ حرق نخل بني النضير وقطع وهي البويرة فأنزل الله تعالى {ما قطعتم من لينة أو تركتموها قائمة على أصولها فبإذن الله وليخزي الفاسقين}

البخاري 4884صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
What you cut down of linah
Numbering
Darussalam 4884
Bukhari 4884