"مَنْ صَلَّى وهُوَ يُرَائِي فَقَدْ أَشْرَكَ وَمَنْ صَامَ وَهُوَ يُرَائِي فَقَدْ أَشْرَكَ، وَمَن تَصَدَّقَ وَهُوَ يُرَائِي فَقَدْ أَشْرَكَ".
[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.
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ «مَنْ صَلَّى وَهُوَ يُرَائِي فَقَدْ أَشْرَكَ وَمَنْ صَامَ وَهُوَ يُرَائِي فَقَدْ أَشْرَكَ وَمَنْ تَصَدَّقَ وَهُوَ يُرَائِي فَقَدْ أَشْرَكَ» سكت عنه الذهبي في التلخيص
[Machine] I heard the Messenger of Allah ﷺ saying, "Whoever prays seeking to show off, then he has associated partners with Allah. And whoever fasts seeking to show off, then he has associated partners with Allah. And whoever gives charity seeking to show off, then he has associated partners with Allah."
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «مَنْ صَلَّى يُرَائِي فَقَدْ أَشْرَكَ وَمَنْ صَامَ يُرَائِي فَقَدْ أَشْرَكَ وَمَنْ تَصَدَّقَ يُرَائِي فَقَدْ أَشْرَكَ»