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.'"
أن عمر بن الخطاب خطب بالجابية، فقال: قام فينا رسول الله ﷺ مقامي فيكم، فقال: … ومن سرته حسنته وساءته سيئته فهو مؤمن.
Ahmad reported it (114) and Ibn Hibban graded it sahih (7254), as did Hakim (1/113), all of them through the route of Abdullah bin Mubarak, [who said], Muhammad bin Suqa informed us, from Abdullah bin Dinar, from Ibn Umar, who mentioned it within a lengthy hadith. Its isnad is sahih.