Abu Hurairah reported,

The Messenger of Allah ﷺ said, "The likeness of the believer is like a stalk of crop, the wind keeps bending it, and the believer keeps being struck by trials. The likeness of the hypocrite is like the cedar tree, it does not sway until it is harvested."In another wording, "The likeness of the believer is like a tender stalk of crop, whichever way the wind comes upon it, it bends it. When it straightens, it is bent again by trials. The wicked person is like the cedar, firm and upright, until Allah breaks it whenever He wills."

Azami 14680

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: مثل المؤمن كمثل الزرع لا تزال الريح تميله، ولا يزال المؤمن يصيبه البلاء، ومثل المنافق كمثل شجرة الأرز، لا تهتز حتى تستحصد. وفي لفظ: مثل المؤمن كمثل الخامة من الزرع، من حيث أتتها الريح كفأتها، فإذا اعتدلت تكفأ بالبلاء، والفاجر كالأرزة، صماء معتدلة، حتى يقصمها الله إذا شاء.

الأعظمي 14680صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of speech, words, and correspondence
Section
Parables
Numbering
Jami al-Kamil 14680 (2nd edition)
Azami 14680