Riyad as-SalihinChapter 5Hadith 173
Full Sharh — Riyad as-Salihin 173
وعن أنس رضي الله عنه أن النبي صلى الله عليه وسلم، كان إذا تكلم بكلمة أعادها ثلاثًا حتى تفهم عنه، وإذا أتى على قوم فسلم عليهم سلم عليهم ثلاثًا. ((رواه البخاري)) وهذا محمول على ما إذا كان الجمع كثيرًا.
English Translation
Anas (May Allah be pleased with him) reported the Prophet (ﷺ) used to repeat his words thrice so that the meaning thereof would be fully understood, and whenever he came upon a gathering of people, he would greet them. He would repeat Salam thrice..
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Greetings
Hadith Number
173