Abdullah bin Umar reported,

Umar bin Khattab delivered a sermon at al-Jabiyah and said, "The Messenger of Allah ﷺ once stood among us as I now stand among you, and he said, '… Whoever is gladdened by his good deeds and grieved by his bad deeds is a believer.'"

Azami 13343

Sahih

عن ابن عمر

أن عمر بن الخطاب خطب بالجابية، فقال: قام فينا رسول الله ﷺ مقامي فيكم، فقال: … ومن سرته حسنته وساءته سيئته فهو مؤمن.

الأعظمي 13343صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Hujurat
Section
His saying, "And know that among you is the Messenger of Allah. If he were to obey you in much of the matter, you would be in difficulty, but Allah has endeared faith to you and has made it pleasing in your hearts and has made hateful to you disbelief, defiance, and disobedience. Those are the rightly guided"
Numbering
Jami al-Kamil 13343 (2nd edition)
Azami 13343