Hadithcore
Hadith #2117870

Anas (RAA) narrated that Allah's Messenger (ﷺ) said:

“Keeping silent is considered as (an act of`) wisdom, but very few practice it.” Related by Al-Baihaqi in his book Shu'ab al-Iman with a weak chain of narrators a he deemed the sound view is that it is traced back to one of the companions who quoted it from Luqman Al-Hakim.

وَعَنْ أَنَسٍ ‏- رضى الله عنه ‏- قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ اَلصَّمْتُ حِكْمَةٌ, وَقَلِيلٌ فَاعِلُهُ } أَخْرَجَهُ اَلْبَيْهَقِيُّ فِي

اَلشُّعَبِ

بِسَنَدٍ ضَعِيفٍ.‏ [1]‏ وَصَحَّحَ أَنَّهُ مَوْقُوفٌ مِنْ قَوْلِ لُقْمَانَ اَلْحَكِيمِ.‏ [2]‏ .‏

References2 variants
Sunnah.com reference
Book 16, Hadith 42
Arabic/English book reference
Book 16, Hadith 1521