The Messenger of Allah ﷺ said, "Whoever performs his deeds to be heard of by people, Allah will make the listeners among His creation hear of him on the Day of Resurrection, and He will belittle and diminish him."
حدثنا أبو نعيم حدثنا الأعمش عن عمرو بن مرة قال كنا جلوسا عند أبي عبيدة فذكروا الرياء فقال رجل يكنى بأبي يزيد سمعت
قال رسول الله ﷺ من سمع الناس بعمله سمع الله به سامع خلقه يوم القيامة فحقره وصغره