Regarding the saying of Allah , "Whatever palm trees you cut down or left standing on their roots" [Hashr 59:5], he said, "The lina is the palm tree." And regarding "and to disgrace the defiantly disobedient" [Hashr 59:5], he said, "He brought them down from their fortresses."He said, "They were ordered to cut down the palm trees, and this weighed upon their hearts, so the Muslims said, 'We have cut down some and left others standing. Let us ask the Messenger of Allah ﷺ whether we have any reward for what we cut down and whether we bear any sin for what we left.'" Then Allah Most High revealed, "Whatever palm trees you cut down or left standing on their roots" [Hashr 59:5], the verse.
حدثنا الحسن بن محمد الزعفراني حدثنا عفان بن مسلم حدثنا حفص بن غياث حدثنا حبيب بن أبي عمرة عن سعيد بن جبير
في قول الله عز وجل {ما قطعتم من لينة أو تركتموها قائمة على أصولها} قال اللينة النخلة وليخزي الفاسقين قال استنزلوهم من حصونهم قال وأمروا بقطع النخل فحك في صدورهم فقال المسلمون قد قطعنا بعضا وتركنا بعضا فلنسألن رسول الله ﷺ هل لنا فيما قطعنا من أجر وهل علينا فيما تركنا من وزر فأنزل الله تعالى {ما قطعتم من لينة أو تركتموها قائمة على أصولها} الآية