The Messenger of Allah ﷺ said, "Whoever does deeds to be heard of, Allah will expose his intent. And whoever does deeds to be seen, Allah will expose his intent."
حدثنا أحمد بن عبد الملك حدثنا بكار قال حدثني أبي
قال رسول الله ﷺ من سمع سمع الله به ومن رايا رايا الله به
No references are available.
Its isnad is hasan, previously mentioned at 18711 and 11292.