Compiled by Imam Yahya ibn Sharaf al-Nawawi
وعن أبي هريرة أن النبي صلى الله عليه وسلم قال: "والكلمة الطيبة صدقة" ((متفق عليه)) وهو بعض حديث تقدم بطوله.
The Prophet (ﷺ) said, "It is also charity to utter a good word."[Al- Bukhari and Muslim]. It is part of a narration that has preceded in its entirety.