Hadith 16

Riyad as-Salihin

Book 5: The Book of Greetings

Chapter 134

The Excellence of Greeting the Acquaintance Repeatedly

باب استحباب إعادة السلام على من تكرر لقاؤه على قرب بأن دخل ثم خرج ثم دخل في الحال، أو حال بينهما شجرة ونحوها

Riyad as-Salihin 859
عن أبي هريرة رضي الله عنه في حديث المسيء صلاته أنه جاء فصلى، ثم جاء النبي صلى الله عليه وسلم، فسلم عليه، فرد عليه السلام، فقال‏:‏ ‏ ‏ فرجع فصلى، ثم جاء فسلم على النبي صلى الله عليه وسلم، حتى فعل ذلك ثلاث مرات” ‏(‏‏(‏متفق عليه‏)‏‏)‏
"‏ارجع فصلِ، فإنك لم تصلِ‏"
Abu Hurairah (May Allah be pleased with him)reported in the Hadith concerning the person who was at fault in performing his Salat (prayer):

He came to the Prophet (ﷺ) and greeted him. The Prophet (ﷺ) responded to the greeting and said, "Go back and repeat your Salat because you have not performed the Salat (properly).'' He again performed Salat as he had prayed before and came to the Prophet (ﷺ) and greeted him. The Prophet (ﷺ) responded to the greetings (and repeated his words to him). This act of repeating (the Salat and the Salam) was done thrice. [Al-Bukhari and Muslim].