Ubayd bin Umayr reported,

One day Umar asked the Companions of the Prophet ﷺ, "Concerning what do you think this verse was revealed, "Would any of you like to have a garden" [Baqarah 2:266]?"They replied, "Allah knows best."Umar became angry and said, "Say either that you know or that you do not know."Ibn Abbas said, "I have something in mind about it, Commander of the Faithful."Umar said, "Speak, my nephew, and do not belittle yourself."Ibn Abbas said, "It is a parable struck for a deed."Umar asked, "What deed?"Ibn Abbas replied, "For a deed."Umar said, "For a wealthy man who acts in obedience to Allah عز وجل, and then Allah sends Satan to him, so he commits acts of disobedience until he drowns all his deeds."

Azami 12032

Sahih

عن عبيد بن عمير قال

قال عمر يوما لأصحاب النبي ﷺ فيم ترون هذه الآية نزلت: {أيود أحدكم أن تكون له جنة}؟ قالوا: الله أعلم، فغضب عمر فقال: قولوا: نعلم أو لا نعلم، فقال ابن عباس: في نفسي منها شيء يا أمير المؤمنين، قال عمر: يا ابن أخي قل ولا تحقر نفسك، قال ابن عباس: ضربت مثلا لعمل، قال عمر: أي عمل؟ قال ابن عباس: لعمل، قال عمر: لرجل غني يعمل بطاعة الله عز وجل، ثم بعث الله له الشيطان، فعمل بالمعاصي حتى أغرق أعماله.

الأعظمي 12032صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "Would any of you like to have a garden of palm trees and grapevines beneath which rivers flow, having therein all kinds of fruits, then old age afflicts him while he has weak offspring, and a whirlwind with fire strikes it and it burns? Thus Allah makes clear to you His verses that you might reflect."
Numbering
Jami al-Kamil 12032 (2nd edition)
Azami 12032