Nafi reported,

Abdullah bin Umar passed by a man who was praying and greeted him with peace, and the man answered him with words. So Abdullah bin Umar went back to him and said, "When one of you is greeted while praying, he should not speak. Let him gesture with his hand instead."

Malik 416

Sahih

و حدثني عن مالك

عن نافع

أن عبد الله بن عمر مر على رجل وهو يصلي فسلم عليه فرد الرجل كلاما فرجع إليه عبد الله بن عمر فقال له إذا سلم على أحدكم وهو يصلي فلا يتكلم وليشر بيده

مالك 416صحيح
Contents
Reference
Commentary
Ayat
Collection
Muwatta Malik
Book
Shortening prayer while traveling
Numbering
Laithi 416
Malik 416