[Machine] I heard the Messenger of Allah, peace be upon him, saying, "Whoever prays while showing off, then he has associated partners with Allah. And whoever fasts while showing off, then he has associated partners with Allah. And whoever gives charity while showing off, then he has associated partners with Allah." Al-Dhahabi remained silent about it in his summary.
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ «مَنْ صَلَّى وَهُوَ يُرَائِي فَقَدْ أَشْرَكَ وَمَنْ صَامَ وَهُوَ يُرَائِي فَقَدْ أَشْرَكَ وَمَنْ تَصَدَّقَ وَهُوَ يُرَائِي فَقَدْ أَشْرَكَ» سكت عنه الذهبي في التلخيص